Windows Dev Center

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 Constructor

Creates a new PSTypeConverter object.

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

Dim instance As New PSTypeConverter

protected PSTypeConverter ()
protected PSTypeConverter ()
protected function PSTypeConverter ()

A Windows PowerShell type converter is needed when Windows PowerShell cannot perform a type conversion for a specific target class by using the standard Windows PowerShell language converters. For more information about the standard Windows PowerShell language converters and the Windows PowerShell type converter, see ETS Type Conversion.

There are two ways of associating the implementation of the PSTypeConverter class with its target class:

  • Through the type configuration file.

  • By applying the TypeConverterAttribute attribute to the target class.


Target Platforms

© 2015 Microsoft