PowerSNMP for .NET CF
Populate Method
See Also  Send comments on this topic.
Dart.Snmp Namespace > MibNodes Class : Populate Method




treeView
The TreeView object to populate.
mibNodes
A sorted collection of MibNode objects uses to populate the treeView.
Populates a TreeView with MibNode objects.

Syntax

Visual Basic (Declaration) 
Public Sub Populate( _
   ByVal treeView As TreeView, _
   ByVal mibNodes As ICollection(Of MibNode) _
) 
Visual Basic (Usage)Copy Code
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.

Remarks

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.