Click or drag to resize
DigitalRuneGamePropertyCollectionAddT Method (String)
Adds a property with with the given name.

Namespace: DigitalRune.Game
Assembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax
public void Add<T>(
	string name
)

Parameters

name
Type: SystemString
The property name.

Type Parameters

T
The type of the property value.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is .
ArgumentExceptionname is an empty string.
ArgumentException The property is not defined. Properties must be defined with CreatePropertyT(String, String, String, T) before they can be added.
See Also