Click or drag to resize
DigitalRuneGameObjectSetValueT Method (GamePropertyMetadataT, T)
Set the value of the property for the given metadata.

Namespace: DigitalRune.Game
Assembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax
public void SetValue<T>(
	GamePropertyMetadata<T> propertyMetadata,
	T value
)

Parameters

propertyMetadata
Type: DigitalRune.GameGamePropertyMetadataT
The metadata of the property.
value
Type: T
The new value.

Type Parameters

T
The type of the property value.
Exceptions
ExceptionCondition
ArgumentNullExceptionpropertyMetadata is .
See Also