| GameObjectSetValueT Method (Int32, T) |
Sets 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)
Syntax public void SetValue<T>(
int propertyId,
T value
)
Public Sub SetValue(Of T) (
propertyId As Integer,
value As T
)
public:
generic<typename T>
void SetValue(
int propertyId,
T value
)
member SetValue :
propertyId : int *
value : 'T -> unit
Parameters
- propertyId
- Type: SystemInt32
The ID of the property. - value
- Type: T
The new value.
Type Parameters
- T
- The type of the property value.
Exceptions See Also