| GameObjectGetValueT Method (GamePropertyMetadataT) |
Gets the value of the property with the given metadata.
Namespace: DigitalRune.GameAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax public T GetValue<T>(
GamePropertyMetadata<T> propertyMetadata
)
Public Function GetValue(Of T) (
propertyMetadata As GamePropertyMetadata(Of T)
) As T
public:
generic<typename T>
T GetValue(
GamePropertyMetadata<T>^ propertyMetadata
)
member GetValue :
propertyMetadata : GamePropertyMetadata<'T> -> 'T
Parameters
- propertyMetadata
- Type: DigitalRune.GameGamePropertyMetadataT
The metadata of the property.
Type Parameters
- T
- The type of the property value.
Return Value
Type:
T
The value of the property.
Exceptions See Also