Method ResetProperty
ResetProperty(string)
Reset the property with the given key
to its default value.
Declaration
public Property ResetProperty(string key)
Parameters
Type | Name | Description |
---|---|---|
string | key | The identifier of the property to reset. |
Returns
Type | Description |
---|---|
Property | Return the new property's value after its reset. |
Exceptions
Type | Condition |
---|---|
NullReferenceException | If this has been discarded. |
ArgumentNullException | If the |
PropertyNotFoundException | If there is no property with the given |