Share via


TextStyleLevels.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 TextStyleLevels
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

TextStyleLevels Interface

TextStyleLevels Members

Count Overload

Microsoft.Office.Interop.PowerPoint Namespace