Click or drag to resize
DigitalRuneGamePropertyCollectionAddT Method (GamePropertyMetadataT)
Adds a 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 Add<T>(
	GamePropertyMetadata<T> metadata
)

Parameters

metadata
Type: DigitalRune.GameGamePropertyMetadataT
The metadata of the property.

Type Parameters

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