JobTriggerToCimInstanceConverter.ConvertFrom Method

Definition

Converts the sourceValue parameter to the destinationType parameter using formatProvider and ignoreCase

public override object ConvertFrom (object 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

The value to convert from

destinationType
Type

The type to convert to

formatProvider
IFormatProvider

The format provider to use like in IFormatable's ToString

ignoreCase
Boolean

true if case should be ignored

Returns

the sourceValue parameter converted to the destinationType parameter using formatProvider and ignoreCase

Exceptions

if no conversion was possible

Applies to