ParseConfigGetT Method Parse
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

public T Get<T>(
	string key
)

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: T
Exceptions

ExceptionCondition
KeyNotFoundExceptionThe property is retrieved and key is not found.
FormatExceptionThe property under this key key was found, but of a different type.
See Also

Reference