TreeNodeConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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. |