Share via


View::ListItems property

The ListItems property returns the list's set of nodes. This property is read-only.

Syntax

Property ListItems As Nodes

Property value

The set of nodes in the list.

Examples

' 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
Mmc.exe
IID
IID_View is defined as 6EFC2DA2-B38C-457E-9ABB-ED2D189B8C38

See also

Nodes collection