ExpressionsCollectionConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

Converts an expression binding collection to the specified type.

Namespace: System.Web.UI.Design
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 ("").

NoteNote:

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 Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: