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.

Vector3DConverter::ConvertFrom Method (ITypeDescriptorContext^, CultureInfo^, Object^)

 

Attempts to convert a specified object to a Vector3D structure.

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

public:
virtual Object^ ConvertFrom(
	ITypeDescriptorContext^ context,
	CultureInfo^ culture,
	Object^ value
) override

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:
© 2017 Microsoft