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

EventDataConverter.CanConvertFrom Method

Definition

Overloads

CanConvertFrom(Object)

Verifies that a given object has the required members to convert it to the target type (EventData)

Uses a dynamic type so that it is able to use the simplest code without excessive checking.

CanConvertFrom(Object, Type)

CanConvertFrom(Object)

Verifies that a given object has the required members to convert it to the target type (EventData)

Uses a dynamic type so that it is able to use the simplest code without excessive checking.

public static bool CanConvertFrom (dynamic sourceValue);
static member CanConvertFrom : obj -> bool
Public Shared Function CanConvertFrom (sourceValue As Object) As Boolean

Parameters

sourceValue
Object

The instance to verify

Returns

True, if the object has all the required parameters.

Applies to

CanConvertFrom(Object, Type)

public override bool CanConvertFrom (dynamic 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