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)
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
public boolean ShouldSerializeValue ( Object component )
public override function ShouldSerializeValue ( component : Object ) : boolean
Parameters
- component
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 PreviewSend comments about this topic to Microsoft.