Share via


Int32CollectionConverter.ConvertFrom Methode

Definition

Versucht, ein angegebenes Objekt in eine Int32Collection-Instanz 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

Die für die Konvertierung verwendeten Kontextinformationen.

culture
CultureInfo

Kulturinformationen, die während der Konvertierung beachtet werden.

value
Object

Das Objekt, das konvertiert wird.

Gibt zurück

Object

Eine neue Instanz von Int32Collection.

Ausnahmen

value ist null, oder der Typ ist ungültig.

Gilt für