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

 

Converts a String to a supported instance of IList.

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

public:
virtual Object^ ConvertFrom(
	ITypeDescriptorContext^ td,
	CultureInfo^ ci,
	Object^ value
) override

Parameters

td
Type: System.ComponentModel::ITypeDescriptorContext^

Provides contextual information required for conversion.

ci
Type: System.Globalization::CultureInfo^

Cultural information to respect during conversion.

value
Type: System::Object^

String used for conversion.

Return Value

Type: System::Object^

An Object that represents the result of the conversion.

Exception Condition
ArgumentException

Occurs if value is null and not a String.

.NET Framework
Available since 3.0
Return to top
Show: