Matrix3DConverter::ConvertTo Method (ITypeDescriptorContext^, CultureInfo^, Object^, Type^)

 

Attempts to convert an instance of Matrix3D to the given type.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public:
virtual Object^ ConvertTo(
	ITypeDescriptorContext^ context,
	CultureInfo^ culture,
	Object^ value,
	Type^ destinationType
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

The ITypeDescriptorContext for this call.

culture
Type: System.Globalization::CultureInfo^

The CultureInfo which is respected when converting.

value
Type: System::Object^

The object to convert to an instance of destinationType.

destinationType
Type: System::Type^

The type to which the Matrix3D instance will be converted.

Return Value

Type: System::Object^

Object that was constructed.

Exception Condition
NotSupportedException

Throws NotSupportedException if the example object is null or is not a Matrix3D, or if the destinationType isn't one of the valid destination types.

.NET Framework
Available since 3.0
Return to top
Show: