| GamePropertyCollectionAddT Method (GamePropertyMetadataT) |
Adds a 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 void Add<T>(
GamePropertyMetadata<T> metadata
)
Public Sub Add(Of T) (
metadata As GamePropertyMetadata(Of T)
)
public:
generic<typename T>
void Add(
GamePropertyMetadata<T>^ metadata
)
member Add :
metadata : GamePropertyMetadata<'T> -> unit
Parameters
- metadata
- Type: DigitalRune.GameGamePropertyMetadataT
The metadata of the property.
Type Parameters
- T
- The type of the property value.
Exceptions See Also