ExpressionsCollectionConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)
.NET Framework 2.0
Note: This method is new in the .NET Framework version 2.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
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. |
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Show:
Note