Share via


LocalizablePropertyDescriptor.ShouldSerializeValue(Object) Method

Definition

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.

Applies to