Sdílet prostřednictvím


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