Szerkesztés

Megosztás a következőn keresztül:


Point3DCollectionConverter.CanConvertFrom Method

Definition

Returns a value that indicates whether the type converter can convert from a specified type.

public:
 override bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ sourceType);
public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext context, Type sourceType);
override this.CanConvertFrom : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertFrom (context As ITypeDescriptorContext, sourceType As Type) As Boolean

Parameters

context
ITypeDescriptorContext

The type descriptor context for this call.

sourceType
Type

The type being queried for support.

Returns

true if the converter can convert from the provided type; otherwise, false.

Applies to