Vector3DConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Attempts to convert a specified object to a Vector3D structure.

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

public override object ConvertFrom(
	ITypeDescriptorContext context,
	CultureInfo culture,
	object value
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

The ITypeDescriptorContext for this call.

culture
Type: System.Globalization.CultureInfo

Describes the CultureInfo of the type being converted.

value
Type: System.Object

The object being converted.

Return Value

Type: System.Object

The Vector3D structure created from the converted value.

Exception Condition
NotSupportedException

Occurs if the specified object is null or is a type that cannot be converted to to a Vector3D structure.

.NET Framework
Available since 3.0
Return to top
Show: