Visual Basic (Declaration) | |
---|---|
Public Sub Populate( _ ByVal treeView As TreeView, _ ByVal mibNodes As ICollection(Of MibNode) _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As MibNodes Dim treeView As TreeView Dim mibNodes As ICollection(Of MibNode) instance.Populate(treeView, mibNodes) |
C# | |
---|---|
public void Populate( TreeView treeView, ICollection<MibNode> mibNodes ) |
Managed Extensions for C++ | |
---|---|
public: void Populate( TreeView* treeView, ICollection<MibNode*>* mibNodes ) |
C++/CLI | |
---|---|
public: void Populate( TreeView^ treeView, ICollection<MibNode^>^ mibNodes ) |
Parameters
- treeView
- The TreeView object to populate.
- mibNodes
- A sorted collection of MibNode objects uses to populate the treeView.
To use images for the node, set the treeView's ImageList property to an ImageList with the following image indices:
0 = branch, 1 = leaf, 2 = notification, 3 = table, 4 = selected branch, 5 = selected leaf, 6 = selected notification, 7 = selected table
Target Platforms: Microsoft .NET Framework 2.0