Editar

Compartilhar via


Matrix3DConverter.ConvertFrom Method

Definition

Attempts to convert to a Matrix3D from the given object.

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

Parameters

context
ITypeDescriptorContext

The ITypeDescriptorContext for this call.

culture
CultureInfo

The CultureInfo which is respected when converting.

value
Object

The object to convert to an instance of Matrix3D.

Returns

Matrix3D that was constructed.

Exceptions

A NotSupportedException is thrown if the example object is null or is not a valid type which can be converted to a Matrix3D.

Applies to