Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Vector3DCollectionConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

 

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

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

public override object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	object value,
	Type destinationType
)

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

The object which was constructoed.

Exception Condition
NotSupportedException

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft