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

 

Attempts to convert an instance of Point3DCollection to the specified 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 type descriptor context for this call.

culture
Type: System.Globalization::CultureInfo^

The culture information that is respected when converting.

value
Type: System::Object^

The object to convert to an instance of destinationType.

destinationType
Type: System::Type^

Type to which this method will convert the Point3DCollection instance.

Return Value

Type: System::Object^

The object that was constructed.

Exception Condition
NotSupportedException

value is null or is not a Point3DCollection.

-or-

destinationType is not one of the valid destination types.

.NET Framework
Available since 3.0
Return to top
Show: