Nodes::Item method
The Item method returns the Node object at a specified index.
Syntax
Nodes.Item( _
ByVal Index As Long _
) As Node
Parameters
-
Index
-
The index of the item being retrieved. The index is 1-based.
Examples
' Retrieve the third Node in the Nodes collection.
Dim objNode1 As MMC20.Node
Set objNode1 = objNodes.Item(3)
' Use the Node object.
' This code will display the Node's Name property.
MsgBox (objNode1.Name)
' Free the Node object when done.
Set objNode1 = Nothing
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|
IID |
IID_Nodes is defined as 313B01DF-B22F-4D42-B1B8-483CDCF51D35 |