FigureLengthConverter.CanConvertTo(ITypeDescriptorContext, Type) FigureLengthConverter.CanConvertTo(ITypeDescriptorContext, Type) FigureLengthConverter.CanConvertTo(ITypeDescriptorContext, Type) FigureLengthConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

Bestimmt, ob Instanzen von FigureLength in den angegebenen Typ konvertiert werden können.Determines whether instances of FigureLength can be converted to the specified type.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ destinationType);
public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (typeDescriptorContext As ITypeDescriptorContext, destinationType As Type) As Boolean

Parameter

typeDescriptorContext
ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext

Beschreibt die Kontextinformationen eines Typs.Describes the context information of a type.

destinationType
Type Type Type Type

Der gewünschte Typ, in den die auszuwertende FigureLength konvertiert werden soll.The desired type this FigureLength is being evaluated to be converted to.

Gibt zurück

true, wenn Instanzen von FigureLength in destinationType konvertiert werden können, andernfalls false.true if instances of FigureLength can be converted to destinationType; otherwise, false.

Hinweise

Dieser Konverter unterstützt zwei Zieltypen String:, InstanceDescriptoroder.This converter supports two destination types: String, or InstanceDescriptor.

Gilt für: