Windows desktop applications
Collapse the table of content
Expand the table of content
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.

PSTypeConverter.ConvertTo Method

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Converter an object to a specific destination type. The variants of this method can convert an Object object and a PSObject object.

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

NameDescription
System_CAPS_pubmethodConvertTo(Object, Type, IFormatProvider, Boolean)

Converts an Object object to the specified destination object type.

System_CAPS_pubmethodConvertTo(PSObject, Type, IFormatProvider, Boolean)

Converts a PSObject object to the specified destination object type.

Return to top

Community Additions

Show:
© 2016 Microsoft