Aracılığıyla paylaş


Vector3DCollectionConverter.ConvertTo Yöntem

Tanım

bir örneğini Vector3DCollection verilen türe dönüştürmeyi dener.

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

Parametreler

context
ITypeDescriptorContext

Bu çağrı için ITypeDescriptorContext.

culture
CultureInfo

Dönüştürme sırasında dikkate alınan CultureInfo.

value
Object

örneğine destinationTypedönüştürülecek nesne.

destinationType
Type

Matrix3D örneğinin dönüştürüleceği tür.

Döndürülenler

Object

Yapılan nesne.

Özel durumlar

Örnek nesne null ise veya Vector3DCollection değilse veya destinationType geçerli hedef türlerinden biri değilse NotSupportedException oluşturur.

Şunlara uygulanır