Partilhar via


Nodes::Count property

The Count property returns the number of Node objects that are in the Nodes collection. This property is read-only.

Syntax

Property Count As Long

Property value

The number of Node objects contained in this collection.

Examples

' Display the count of Node objects.
Dim nCount As Long
nCount = objNodes.Count
MsgBox ("Number of Node objects: " & nCount)

Requirements

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

See also

Nodes.Item