ParseObjectGetPropertyT Method (T, String)Parse
Gets the value of a property based upon its associated ParseFieldName attribute.

Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax

protected T GetProperty<T>(
	T defaultValue,
	string propertyName = null
)

Parameters

defaultValue
Type: T
The value to return if the property is not present on the ParseObject.
propertyName (Optional)
Type: SystemString
The name of the property.

Type Parameters

T
The return type of the property.

Return Value

Type: T
The value of the property.
See Also

Reference