DurationConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definition

Bestimmt, ob die Konvertierung in einen angegebenen Typ möglich ist.

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

Parameter

context
ITypeDescriptorContext

Kontextinformationen, die für die Konvertierung verwendet werden.

destinationType
Type

Typ, der für die Konvertierung ausgewertet wird.

Gibt zurück

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

Gilt für: