共用方式為


DurationConverter.CanConvert(Type) Method

Definition

Checks if the given object can be converted into a Duration object.

public override bool CanConvert (Type objectType);
override this.CanConvert : Type -> bool
Public Overrides Function CanConvert (objectType As Type) As Boolean

Parameters

objectType
Type

The object type.

Returns

True if the object is of type Duration.

Applies to