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

AzureContextConverter.CanConvertFrom Method

Definition

Overloads

CanConvertFrom(PSObject, Type)
CanConvertFrom(Object, Type)

CanConvertFrom(PSObject, Type)

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

Parameters

sourceValue
PSObject
destinationType
Type

Returns

Applies to

CanConvertFrom(Object, Type)

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

Parameters

sourceValue
Object
destinationType
Type

Returns

Applies to