TreeNodeBindingDepthConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)
.NET Framework 3.0
Converts the object to the specified type using the provided context and culture information.
Namespace: System.Web.UI.Design.WebControls
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
A ITypeDescriptorContext that provides a format context.
- culture
The CultureInfo to use as the current culture.
- value
The object to convert.
- destinationType
The Type to convert the value to.
Return Value
An object that represents the converted value.Community Additions
ADD
Show: