StringArrayConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)
Assembly: System.Web (in system.web.dll)
public: virtual Object^ ConvertFrom ( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value ) override
public Object ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, Object value )
public override function ConvertFrom ( context : ITypeDescriptorContext, culture : CultureInfo, value : Object ) : Object
Not applicable.
Parameters
- context
An ITypeDescriptorContext object that provides a format context that can be used to extract additional information about the environment from which this converter is invoked. This parameter or properties of this parameter can be a null reference (Nothing in Visual Basic).
- culture
A CultureInfo object. If a null reference (Nothing in Visual Basic), the current culture is used.
- value
The Object to convert.
Return Value
An Object that represents the converted value.The ConvertFrom method parses an object that represents a comma-separated string into an array of strings. Prior to calling this method, you can call the CanConvertFrom method to determine whether the object specified by value can be converted to an array of strings.
To convert an array of strings into a comma-separated string, use the ConvertTo method.