Modifier

Partager via


Point3DCollectionConverter.ConvertFrom Method

Definition

Attempts to convert to a Point3DCollection 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 type descriptor context for this call.

culture
CultureInfo

The culture information that is respected when converting.

value
Object

The object to convert to an instance of Point3DCollection.

Returns

The Point3DCollection that was constructed.

Exceptions

value is null or is not a valid type that can be converted to a Point3DCollection.

Applies to