Partager via


ActionSettings.Item Property

Returns a single action setting from the specified ActionSettings collection.

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

Syntax

'Declaration
ReadOnly Property Item ( _
    Index As PpMouseActivation _
) As ActionSetting
    Get
'Usage
Dim instance As ActionSettings
Dim Index As PpMouseActivation
Dim value As ActionSetting

value = instance.Item(Index)
ActionSetting this[
    PpMouseActivation Index
] { get; }

Parameters

Property Value

Type: Microsoft.Office.Interop.PowerPoint.ActionSetting

Remarks

The Index parameter value can be one of these PpMouseActivation constants.

Constant

Description

ppMouseClick

The action setting for when the user clicks the shape.

ppMouseOver

The action setting for when the mouse pointer is positioned over the specified shape.

The Item[PpMouseActivation] method is the default member for a collection. For example, the following two lines of code are equivalent:

ActivePresentation.Slides.Item(1)

and

ActivePresentation.Slides(1)

See Also

Reference

ActionSettings Interface

ActionSettings Members

Microsoft.Office.Interop.PowerPoint Namespace