共用方式為


_Application.Active Property

Returns whether the specified pane or window is active. Read-only.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
ReadOnly Property Active As MsoTriState
    Get
'Usage
Dim instance As _Application
Dim value As MsoTriState

value = instance.Active
MsoTriState Active { get; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

The value returned by the Active property can be one of these MsoTriState constants.

Constant

Description

msoFalse

The specified pane or window is inactive.

msoTrue

The specified pane or window is active.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.PowerPoint Namespace