Edytuj

Udostępnij za pośrednictwem


Vector3DConverter.ConvertTo Method

Definition

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

Parameters

context
ITypeDescriptorContext

Describes the context information of a type.

culture
CultureInfo

The CultureInfo which is respected when converting.

value
Object

The Vector3D structure to convert.

destinationType
Type

The type this Vector3D structure is converted to.

Returns

The object created from converting this Vector3D structure.

Applies to