ExpressionsCollectionConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)
.NET Framework 3.0
Converts an expression binding collection to the specified type.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
public: virtual Object^ ConvertTo ( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value, Type^ destinationType ) override
public Object ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType )
public override function ConvertTo ( context : ITypeDescriptorContext, culture : CultureInfo, value : Object, destinationType : Type ) : Object
Not applicable.
Parameters
- context
An ITypeDescriptorContext object that indicates the component or control the expression binding collection belongs to.
- culture
A CultureInfo object that can be used to provide additional culture information.
- value
The object to convert.
- destinationType
The type to convert to.
Return Value
If destinationType is not of type String, the object produced by the type conversion; otherwise, if destinationType is a string, an empty string (""). Note: |
|---|
| You should never access a type converter directly. This implementation of TypeConverter is intended only for use by an ExpressionBindingCollection object at design time. |
Community Additions
ADD
Show:
Note: