Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
The Count property returns the number of SnapIn objects (primary stand-alone snap-ins) that are in the SnapIns collection. This property is read-only.
Syntax
Property Count As Long
Property value
The number of SnapIn objects contained in this collection.
Examples
' Retrieve the SnapIns property.
Dim objSnapIns As MMC20.SnapIns
Set objSnapIns = objDoc.SnapIns
' Retrieve the count of SnapIn objects.
Dim nSnapIns As Long
nSnapIns = objSnapIns.Count
' Display the count.
MsgBox ("There are " & nSnapIns & " snap-ins in the document.")
' Free the object when done.
Set objSnapIns = Nothing
Requirements
| Minimum supported client |
Windows Vista |
| Minimum supported server |
Windows Server 2008 |
| Header |
|
| IDL |
|
| DLL |
|
| IID |
IID_SnapIns is defined as 2EF3DE1D-B12A-49D1-92C5-0B00798768F1 |