Share via


CommandTypeConverter Class

Definition

Invoked command

public class CommandTypeConverter : System.Management.Automation.PSTypeConverter
type CommandTypeConverter = class
    inherit PSTypeConverter
Public Class CommandTypeConverter
Inherits PSTypeConverter
Inheritance
CommandTypeConverter

Constructors

CommandTypeConverter()

Methods

CanConvertFrom(Object, Type)

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

CanConvertTo(Object, Type)

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

ConvertFrom(Object, Type, IFormatProvider, Boolean)

Converts the sourceValue parameter to the destinationType parameter using formatProvider and ignoreCase

ConvertTo(Object, Type, IFormatProvider, Boolean)

NotImplemented -- this will return null

Applies to