PSTypeConverter.CanConvertFrom Method

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Determines if the type converter can convert an object from a specific destination type. The variants of this method can test a System.Management.Automation.PSObject object and an System.Object object.

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

NameDescription
System_CAPS_pubmethodCanConvertFrom(Object, Type)

Determines if the type converter can convert an System.Object object from a specific destination type.

System_CAPS_pubmethodCanConvertFrom(PSObject, Type)

Determines if the type converter can convert a System.Management.Automation.PSObject from a specific destination type.

Return to top

Community Additions

ADD
Show: