Udostępnij za pośrednictwem


EventDataConverter.ConvertFrom Method

Definition

Overloads

ConvertFrom(Object)

Converts an incoming object to the expected type by treating the incoming object as a dynamic, and coping the expected values.

ConvertFrom(Object, Type, IFormatProvider, Boolean)

ConvertFrom(Object)

Converts an incoming object to the expected type by treating the incoming object as a dynamic, and coping the expected values.

public static Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.EventData ConvertFrom (dynamic sourceValue);
static member ConvertFrom : obj -> Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Runtime.EventData
Public Shared Function ConvertFrom (sourceValue As Object) As EventData

Parameters

sourceValue
Object

the incoming object

Returns

EventData

Applies to

ConvertFrom(Object, Type, IFormatProvider, Boolean)

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

Parameters

sourceValue
Object
destinationType
Type
formatProvider
IFormatProvider
ignoreCase
Boolean

Returns

Applies to