DataColumnSelectionConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)
.NET Framework 3.0
Converts the specified object to the type of the associated control property.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.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 implementation that can be used to gain additional context information.
- culture
The CultureInfo object that can be used to support localization features.
- value
The object to convert.
Return Value
An Object instance that represents the converted object.If value is a string, then the string representation of value is returned. If value is a null reference (Nothing in Visual Basic), an empty string ("") is returned. For all other values, a NotSupportedException exception is thrown.
Call the CanConvertFrom method to determine whether the ConvertFrom method supports converting the source type.
Community Additions
ADD
Show: