Share via


PSObjectPropertyDescriptor.ShouldSerializeValue(Object) Method

Definition

Returns true to indicate that the value of this property needs to be persisted.

public:
 override bool ShouldSerializeValue(System::Object ^ component);
public:
 override bool ShouldSerializeValue(Platform::Object ^ component);
 override bool ShouldSerializeValue(winrt::Windows::Foundation::IInspectable const & component);
public override bool ShouldSerializeValue (object component);
override this.ShouldSerializeValue : obj -> bool
Public Overrides Function ShouldSerializeValue (component As Object) As Boolean

Parameters

component
Object

The component with the property to be examined for persistence.

Returns

True.

Applies to