QuaternionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) 方法

定义

尝试将 Quaternion 实例转换为给定类型。Attempts to convert an instance of Quaternion to the given type.

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

参数

context
ITypeDescriptorContext

此调用的 ITypeDescriptorContext。The ITypeDescriptorContext for this call.

culture
CultureInfo

转换时遵守的 CultureInfo。The CultureInfo which is respected when converting.

value
Object

要转换成 destinationType 实例的对象。The object to convert to an instance of destinationType.

destinationType
Type

Matrix3D 实例将转换成的类型。The type to which the Matrix3D instance will be converted.

返回

已构造的对象。Object that was constructed.

适用于