Share via


Placeholders.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 Placeholders
Dim value As Integer

value = instance.Count
int Count { get; }

Property Value

Type: System.Int32
Long

Implements

Collection.Count

Examples

This example closes all windows except the active window.

With Application.Windows

    For i = 2 To .Count.Item(2).Close

    Next

End With

See Also

Reference

Placeholders Interface

Placeholders Members

Count Overload

Microsoft.Office.Interop.PowerPoint Namespace