NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

InheritedPropertyDescriptor.CanResetValue

Indicates whether reset will change the value of the component. If there is a DefaultValueAttribute, then this will return true if getValue returns something different than the default value. If there is a reset method and a shouldPersist method, this will return what shouldPersist returns. If there is just a reset method, this always returns true. If none of these cases apply, this returns false.

[Visual Basic]
Overrides Public Function CanResetValue( _
   ByVal component As Object _
) As Boolean
[C#]
public override bool CanResetValue(
   object component
);
[C++]
public: override bool CanResetValue(
   Object* component
);
[JScript]
public override function CanResetValue(
   component : Object
) : Boolean;

Parameters

component
The component who's property's value we should test for resetability.

See Also

InheritedPropertyDescriptor Class | InheritedPropertyDescriptor Members | System.ComponentModel.Design Namespace | PropertyDescriptor