System.ComponentModel.PropertyDescriptor.ShouldSerializeValue Method

When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.

Syntax

public abstract bool ShouldSerializeValue (object component)

Parameters

component
The component with the property to be examined for persistence.

Returns

true if the property should be persisted; otherwise, false.

Remarks

Typically, this method is implemented through reflection.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0