LocalizablePropertyDescriptor.ShouldSerializeValue(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Whether the value of this property should be persisted.
public override bool ShouldSerializeValue (object component);
override this.ShouldSerializeValue : obj -> bool
Public Overrides Function ShouldSerializeValue (component As Object) As Boolean
Parameters
- component
- Object
Referenced object
Returns
true if value should be serialized, false otherwise
Remarks
This property should not be persisted.. If the underlying class is serializable, the underlying field (if any) should be persisted instead.