你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureContextConverter.CanConvertTo Method

Definition

Overloads

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

CanConvertTo(PSObject, Type)

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
destinationType
Type

Returns

Applies to

CanConvertTo(Object, Type)

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
destinationType
Type

Returns

Applies to