Gets a value for the key of a particular type.
Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax
Parameters
- key
- Type: SystemString
The key of the element to get.
Type Parameters
- T
- The type to convert the value to. Supported types are ParseObject and its descendents, Parse types such as ParseRelation and ParseGeopoint, primitive types,IList<T>, IDictionary<string, T> and strings.
Return Value
Type: TExceptions
Exception | Condition |
---|---|
KeyNotFoundException | The property is retrieved and key is not found. |
FormatException | The property under this key key was found, but of a different type. |
See Also