Windows Dev Center

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 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.

ExceptionCondition
NotSupportedException

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft