QuaternionConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) 方法

定义

将指定对象转换为 QuaternionConverts the specified object to a Quaternion.

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, value As Object) As Object

参数

context
ITypeDescriptorContext

此调用的 ITypeDescriptorContext。ITypeDescriptorContext for this call.

culture
CultureInfo

转换时要遵守的 CultureInfo。CultureInfo to be respected when converting.

value
Object

要转换成四元数实例的对象。Object to convert to an instance of Quaternion.

返回

已构造的四元数。Quaternion that was constructed.

适用于