BaseIListConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Method

Definition

Converts a String to a supported instance of IList.

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

Parameters

td
ITypeDescriptorContext

Provides contextual information required for conversion.

ci
CultureInfo

Cultural information to respect during conversion.

value
Object

String used for conversion.

Returns

Object

An Object that represents the result of the conversion.

Exceptions

Occurs if value is null and not a String.

Applies to