TYPE Attribute | Type Property

Sets or retrieves the name of the node type.

Syntax

Visual Basic  Public  Property Type As string
C# public  string Type { get; set; }
Managed C++ public:  __property string get_Type();
public:  __property void set_Type(string);
JScript public   function get Type() : string;
public   function set Type(string);

Possible Values

sType string that specifies or receives the name of the node type.

The property is read/write. The property has no default value.

Remarks

When used with the TreeNodeType element, this property is the name of the element and defines a type of node.

When used with the TreeNode element, the element inherits all the attributes for this type of node as defined in the TreeNodeType element of the same type.

Applies To

TREENODE, TREENODETYPE

See Also

Internet Explorer WebControls, About the TreeView WebControl