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

定義

嘗試將 Vector3D 結構轉換為指定的型別。Attempts to convert a Vector3D structure to a specified 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

描述類型的內容資訊。Describes the context information of a type.

culture
CultureInfo

轉換時遵守的 CultureInfo。The CultureInfo which is respected when converting.

value
Object

要轉換的 Vector3D 結構。The Vector3D structure to convert.

destinationType
Type

這個 Vector3D 結構轉換為的型別。The type this Vector3D structure is converted to.

傳回

從轉換這個 Vector3D 結構建立的物件。The object created from converting this Vector3D structure.

適用於