Click or drag to resize
DigitalRuneGamePropertyTHasLocalValue Property
Gets a value indicating whether this property has a local value.

Namespace: DigitalRune.Game
Assembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax
public bool HasLocalValue { get; }

Property Value

Type: Boolean
if this property is set to a local value; otherwise, .

Implements

IGamePropertyHasLocalValue
Remarks

If no value was set for a property, then the property has the same value as in the Template of the game object. If no template is set, then the property uses the DefaultValue defined in the GamePropertyMetadataT. In these cases the property does not have a local value.

If a value was set using a SetValue method of the GameObject, then the property has a local value - even if the new value is the same as the default value!

A local value can only be removed using the Reset method.

See Also