Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSObjectPropertyDescriptor.ShouldSerializeValue Method (Object)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Indicates if the value of this property must be persisted.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public override bool ShouldSerializeValue(
	object component
)

Parameters

component
Type: System.Object

The adapted object or PSObject object whose property is to be inspected.

Return Value

Type: System.Boolean

True indicates the value of the property must be persisted; otherwise false is returned.

Return to top

Community Additions

Show: