共用方式為


SlideRange.Item Property

Returns a single Shape object from the specified ShapeRange collection.

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

Syntax

'Declaration
ReadOnly Property Item ( _
    Index As Object _
) As Slide
    Get
'Usage
Dim instance As SlideRange
Dim Index As Object
Dim value As Slide

value = instance.Item(Index)
Slide this[
    Object Index
] { get; }

Parameters

  • Index
    Type: System.Object
    The name or index number of the single Slide object in the collection to be returned.

Property Value

Type: Microsoft.Office.Interop.PowerPoint.Slide

See Also

Reference

SlideRange Interface

SlideRange Members

Microsoft.Office.Interop.PowerPoint Namespace