共用方式為


JobTriggerToCimInstanceConverter.CanConvertFrom(Object, Type) Method

Definition

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

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

Parameters

sourceValue
Object

The value to convert from

destinationType
Type

The type to convert to

Returns

True if the converter can convert the sourceValue parameter to the destinationType parameter, otherwise false.

Applies to