Click or drag to resize
DigitalRuneGamePropertyCollection.Get<T> Method (String)
Gets the property 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 GameProperty<T> Get<T>(
	string name
)

Parameters

name
Type: System.String
The name of the property.

Type Parameters

T
The type of the property value.

Return Value

Type: GameProperty<T>
The property.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
ArgumentExceptionname is an empty string.
ArgumentException The property is not defined. Properties must be defined with CreateProperty< T> (String, String, String, T) before they can be used.
See Also