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)

Creates a TreeNode object.

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

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

See Also

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