Språk

VectorCollectionConverter.ConvertTo Metod

Definition

Försöker konvertera en VectorCollection till en angiven 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

Parametrar

context
ITypeDescriptorContext

Kontextinformation av en typ.

culture
CultureInfo

Den CultureInfo typ som du vill konvertera.

value
Object

Att VectorCollection konvertera.

destinationType
Type

Den typ som detta VectorCollection ska konverteras till.

Returer

Objektet som skapas från konverteringen av detta VectorCollection.

Kommentarer

Använd metoden för att avgöra om du kan utföra en konvertering utan att utföra konverteringen CanConvertTo .

Gäller för