Condividi tramite


Nodes Collection object

The Nodes object is a collection of Node objects.

Members

The Nodes Collection object has these types of members:

Methods

The Nodes Collection object has these methods.

Method Description
Item Retrieves the result item Node object at a specified index.

Properties

The Nodes Collection object has these properties.

Property Description
Count
Retrieves the number of result item Node objects in the collection.

Examples

The Nodes collection supports the "For Each" enumeration syntax, as shown in the following code example.

' Retrieve the ListItems property
Dim objNodes As MMC20.Nodes
Set objNodes = objView.ListItems
' ...
' Use the ListItems.
' This code displays the count of items in the list.
MsgBox (objNodes.Count)
' Use objNodes for other processing.
' ...
 
' Free the object when done.
Set objNodes = Nothing


Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
MmcNdMgr.dll
IID
IID_Nodes is defined as 313B01DF-B22F-4D42-B1B8-483CDCF51D35