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
- Index
Type: Microsoft.Office.Interop.PowerPoint.PpMouseActivation
The action setting for a MouseClick or MouseOver event.
Property Value
Type: Microsoft.Office.Interop.PowerPoint.ActionSetting
Remarks
The Index parameter value can be one of these PpMouseActivation constants.
Constant |
Description |
---|---|
The action setting for when the user clicks the shape. |
|
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)