TreeNodeBindingDepthConverter.ConvertTo Methode

Definition

Konvertiert das Objekt mithilfe der bereitgestellten Kontext- und Kulturinformationen in den angegebenen Typ.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object

Parameter

context
ITypeDescriptorContext

A ITypeDescriptorContext that provides a format context.

culture
CultureInfo

Die CultureInfo als aktuelle Kultur zu verwenden.

value
Object

Das zu konvertierende Objekt.

destinationType
Type

The Type to convert the value to.

Gibt zurück

Ein Objekt, das den konvertierten Wert darstellt.

Gilt für:

Weitere Informationen