System.Web.UI.Design.ExpressionsCollectionConverter.ConvertTo Method

Converts an expression binding collection to the specified type.

Syntax

public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)

Parameters

context
An System.ComponentModel.ITypeDescriptorContext object that indicates the component or control the expression binding collection belongs to.
culture
A System.Globalization.CultureInfo object that can be used to provide additional culture information.
value
The object to convert.
destinationType
The type to convert to.

Returns

If destinationType is not of type string, the object produced by the type conversion; otherwise, if destinationType is a string, an empty string ("").

Remarks

Note:

You should never access a type converter directly. This implementation of System.ComponentModel.TypeConverter is intended only for use by an System.Web.UI.ExpressionBindingCollection object at design time.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0