Freigeben über


EndpointIdentityConverter.ConvertTo Methode

Definition

Konvertiert das angegebene Objekt unter Verwendung des angegebenen Kontexts und der angegebenen 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

Ein ITypeDescriptorContext, der einen Formatierungskontext bereitstellt.

culture
CultureInfo

Die Kulturinformationen. Wenn null übergeben wird, wird von der aktuellen Kultur ausgegangen.

value
Object

Das zu konvertierende Objekt.

destinationType
Type

Der Typ, in den der value-Parameter konvertiert werden soll.

Gibt zurück

Object

Der konvertierte Wert.

Gilt für