This topic has not yet been rated - Rate this topic

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)
'Usage
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

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 Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.