Share via


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);

Parameters

sourceValue
Object

The instance to verify

Returns

True, if the object has all the required parameters.

Applies to

Azure - PowerShell Commands Latest and Azure - PowerShell Commands 12 (LTS)
Product Versions
Azure - PowerShell Commands 12 (LTS), Latest

CanConvertFrom(Object, Type)

public override bool CanConvertFrom (dynamic sourceValue, Type destinationType);

Parameters

sourceValue
Object
destinationType
Type

Returns

Applies to

Azure - PowerShell Commands Latest and Azure - PowerShell Commands 12 (LTS)
Product Versions
Azure - PowerShell Commands 12 (LTS), Latest