Share via


Extensions::Count property

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

Syntax

Property Count As Long

Property value

The number of Extension objects contained in this collection.

Examples

' Retrieve the count of Extension objects.
Dim nCount As Long
nCount = objExts.Count
MsgBox ("Number of Extension objects: " & nCount)

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmcndmgr.dll
IID
IID_Extensions is defined as 82DBEA43-8CA4-44bc-A2CA-D18741059EC8

See also

Extensions.Item

SnapIns.Count