Vector3DCollectionConverter.ConvertFrom Method

Definition

Attempts to convert to a Vector3DCollection from the given object.

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, value As Object) As Object

Parameters

context
ITypeDescriptorContext

The ITypeDescriptorContext for this call.

culture
CultureInfo

The CultureInfo which is respected when converting.

value
Object

The object to convert to an instance of Vector3DCollection.

Returns

Vector3DCollection that was constructed.

Exceptions

A NotSupportedException is thrown if the example object is null or is not a valid type which can be converted to a Vector3DCollection.

Applies to