Indicates whether the value of this property needs to be persisted. In other words, it indicates whether the state of the property is distinct from when the component is first instantiated. If there is a default value specified in this PropertyDescriptor, it will be compared against the property's current value to determine this. If there is't, the shouldPersistXXX method is looked for and invoked if found. If both these routes fail, true will be returned. If this returns false, a tool should not persist this property's value.
[Visual Basic] Overrides Public Function ShouldPersistValue( _ ByVal component As Object _ ) As Boolean [C#] public override bool ShouldPersistValue( object component ); [C++] public: override bool ShouldPersistValue( Object* component ); [JScript] public override function ShouldPersistValue( component : Object ) : Boolean;
whether the property should be persisted.
InheritedPropertyDescriptor Class | InheritedPropertyDescriptor Members | System.ComponentModel.Design Namespace