JobTriggerToCimInstanceConverter.ConvertTo 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 ConvertTo (object sourceValue, Type destinationType, IFormatProvider formatProvider, bool ignoreCase);
override this.ConvertTo : obj * Type * IFormatProvider * bool -> obj
Public Overrides Function ConvertTo (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
sourceValue converted to the destinationType
parameter using formatProvider and ignoreCase
Exceptions
if no conversion was possible