| GameObjectSetValueT Method (String, T) |
Sets the value of the property with the given name.
Namespace: DigitalRune.GameAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax public void SetValue<T>(
string propertyName,
T value
)
Public Sub SetValue(Of T) (
propertyName As String,
value As T
)
public:
generic<typename T>
void SetValue(
String^ propertyName,
T value
)
member SetValue :
propertyName : string *
value : 'T -> unit
Parameters
- propertyName
- Type: SystemString
The name of the property. - value
- Type: T
The new value.
Type Parameters
- T
- The type of the property value.
Exceptions See Also