CursorConverter.ConvertFrom Methode

Definition

Versucht, das angegebene Objekt im angegebenen Kontext in einen Cursor zu konvertieren.

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

Parameter

context
ITypeDescriptorContext

Ein Formatkontext, der Informationen über die Umgebung enthält, in der dieser Konverter aufgerufen wird.

culture
CultureInfo

Kulturspezifische Informationen.

value
Object

Das zu konvertierende Objekt.

Gibt zurück

Das konvertierte Objekt oder null, wenn value eine leere Zeichenfolge ist.

Ausnahmen

value kann nicht konvertiert werden.

Gilt für: