When overridden in a derived class, resets the value for this property of the component.
[Visual Basic] MustOverride Public Sub ResetValue( _ ByVal component As Object _ ) [C#] public abstract void ResetValue( object component ); [C++] public: virtual void ResetValue( Object* component ) = 0; [JScript] public abstract function ResetValue( component : Object );
Typically, this method is implemented through reflection.
Notes to Inheritors: When overridden in a derived class, this method looks for a DefaultValueAttribute. If it finds one, it sets the value of the property to this. If this method cannot find a DefaultValueAttribute, it looks for a Reset XXX method. If it finds a Reset XXX method, it invokes it. If this method cannot find a DefaultValueAttribute or a Reset XXX method, then it does not perform an operation.
PropertyDescriptor Class | PropertyDescriptor Members | System.ComponentModel Namespace | PropertyDescriptor