CornerRadiusConverter.CanConvertFrom(ITypeDescriptorContext, Type) Methode

Definition

Gibt an, ob ein Objekt von einem bestimmten Typ in ein .CornerRadius

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

Parameter

typeDescriptorContext
ITypeDescriptorContext

Beschreibt die Kontextinformationen eines Typs.

sourceType
Type

Die Quelle Type , die zur Konvertierungsunterstützung abgefragt wird.

Gibt zurück

true if sourceType is of type String; otherwise, false.

Gilt für: