 | GameObjectGetValueT Method (Int32) |
Gets the value of the property with the given ID.
Namespace: DigitalRune.GameAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntaxpublic T GetValue<T>(
int propertyId
)
Public Function GetValue(Of T) (
propertyId As Integer
) As T
public:
generic<typename T>
T GetValue(
int propertyId
)
member GetValue :
propertyId : int -> 'T
Parameters
- propertyId
- Type: SystemInt32
The ID of the property.
Type Parameters
- T
- The type of the property value.
Return Value
Type:
T
The value of the property.
Exceptions
See Also