PSObjectPropertyDescriptor.ShouldSerializeValue Method

Indicates if the value of this property must be persisted.

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

Dim instance As PSObjectPropertyDescriptor
Dim component As Object
Dim returnValue As Boolean

returnValue = instance.ShouldSerializeValue(component)

public override bool ShouldSerializeValue (
	Object component
public boolean ShouldSerializeValue (
	Object component
public override function ShouldSerializeValue (
	component : Object
) : boolean



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

Return Value

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft