DocumentWindows.Count Property
Returns the number of objects in the specified collection. Read-only.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
ReadOnly Property Count As Integer
Get
'Usage
Dim instance As DocumentWindows
Dim value As Integer
value = instance.Count
int Count { get; }
Property Value
Type: System.Int32
Long
Implements
Examples
This example closes all windows except the active window.
With Application.Windows
For i = 2 To .Count.Item(2).Close
Next
End With