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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft