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