NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TreeNode Constructor (String, Int32, Int32, TreeNode[])

Creates a TreeNode object.

[Visual Basic]
Overloads Public Sub New( _
   ByVal text As String, _
   ByVal imageIndex As Integer, _
   ByVal selectedImageIndex As Integer, _
   ByVal children() As TreeNode _
)
[C#]
public TreeNode(
   string text,
   int imageIndex,
   int selectedImageIndex,
   TreeNode[] children
);
[C++]
public: TreeNode(
   String* text,
   int imageIndex,
   int selectedImageIndex,
   TreeNode* children[]
);
[JScript]
public function TreeNode(
   text : String,
   imageIndex : int,
   selectedImageIndex : int,
   children : TreeNode[]
);

Parameters

text
Label of new node
imageIndex
Index of image to display when node is unselected
selectedImageIndex
Index of image to display when node is selected
children
Array of child nodes

See Also

TreeNode Class | TreeNode Members | System.WinForms Namespace | TreeNode Constructor Overload List