TreeNodeBindingDepthConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)
.NET Framework (current version)
Converts the object to the specified type using the provided context and culture information.
Assembly: System.Design (in System.Design.dll)
public override object ConvertTo( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType )
Parameters
- context
-
Type:
System.ComponentModel.ITypeDescriptorContext
A ITypeDescriptorContext that provides a format context.
- culture
-
Type:
System.Globalization.CultureInfo
The CultureInfo to use as the current culture.
- value
-
Type:
System.Object
The object to convert.
- destinationType
-
Type:
System.Type
The Type to convert the value to.
.NET Framework
Available since 2.0
Available since 2.0
Show: