Editja

TreeNodeConverter Class

Definition

Provides a type converter to convert TreeNode objects to and from various other representations.

public ref class TreeNodeConverter : System::ComponentModel::TypeConverter
public class TreeNodeConverter : System.ComponentModel.TypeConverter
type TreeNodeConverter = class
    inherit TypeConverter
Public Class TreeNodeConverter
Inherits TypeConverter
Inheritance
TreeNodeConverter

Remarks

For more information about type converters, see the TypeConverter base class.

Note

You should never create an instance of a TreeNodeConverter. Instead, call the GetConverter method of TypeDescriptor. For more information, see the examples in the TypeConverter base class.

Constructors

Name Description
TreeNodeConverter()

Initializes a new instance of the TreeNodeConverter class.

Methods

Name Description
CanConvertTo(ITypeDescriptorContext, Type)

Gets a value indicating whether this converter can convert an object to the given destination type using the context.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Converts the given value object to the specified type, using the specified context and culture information.

Applies to

See also