PSObjectPropertyDescriptor.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.
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.