DeserializingTypeConverter.CanConvertTo DeserializingTypeConverter.CanConvertTo DeserializingTypeConverter.CanConvertTo Method

Definition

Overloads

CanConvertTo(PSObject, Type) CanConvertTo(PSObject, Type) CanConvertTo(PSObject, Type)

This method is not implemented - an overload taking a PSObject is implemented instead

CanConvertTo(Object, Type) CanConvertTo(Object, Type) CanConvertTo(Object, Type)

Returns true if the converter can convert the sourceValue parameter to the destinationType parameter

CanConvertTo(PSObject, Type) CanConvertTo(PSObject, Type) CanConvertTo(PSObject, Type)

This method is not implemented - an overload taking a PSObject is implemented instead

public override bool CanConvertTo (System.Management.Automation.PSObject sourceValue, Type destinationType);
override this.CanConvertTo : System.Management.Automation.PSObject * Type -> bool
Public Overrides Function CanConvertTo (sourceValue As PSObject, destinationType As Type) As Boolean
Parameters
sourceValue
PSObject PSObject PSObject
destinationType
Type Type Type
Returns

CanConvertTo(Object, Type) CanConvertTo(Object, Type) CanConvertTo(Object, Type)

Returns true if the converter can convert the sourceValue parameter to the destinationType parameter

public override bool CanConvertTo (object sourceValue, Type destinationType);
override this.CanConvertTo : obj * Type -> bool
Public Overrides Function CanConvertTo (sourceValue As Object, destinationType As Type) As Boolean
Parameters
sourceValue
Object Object Object

The value to convert from

destinationType
Type Type Type

The type to convert to

Returns

True if the converter can convert the sourceValue parameter to the destinationType parameter, otherwise false.

Applies to