Table of contents
TOC
折叠目录
展开目录

SlideShowWindows.Count 属性 (PowerPoint)SlideShowWindows.Count Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回指定集合中的对象数。只读。Returns the number of objects in the specified collection. Read-only.

语法Syntax

表达式计数expression. Count

表达式_一个表示SlideShowWindows对象的变量。_expression A variable that represents a SlideShowWindows object.

返回值Return Value

LongLong

示例Example

以下示例关闭除当前窗口外的所有窗口。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

概念Concepts

SlideShowWindows 对象SlideShowWindows Object

© 2018 Microsoft