Share via


VirtualMachinePropertiesTypeConverter Class

Definition

A PowerShell PSTypeConverter to support converting to an instance of VirtualMachineProperties

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

Constructors

VirtualMachinePropertiesTypeConverter()

Methods

CanConvertFrom(Object)

Determines if the converter can convert the sourceValue parameter to the VirtualMachineProperties type.

CanConvertFrom(Object, Type)

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

CanConvertTo(Object, Type)

Determines if the sourceValue parameter can be converted to the destinationType parameter

ConvertFrom(Object)

Converts the sourceValue parameter into an instance of VirtualMachineProperties

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