JobTriggerToCimInstanceConverter.ConvertFrom Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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