Partager via


ShapeRange.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 Shape
    Get
'Usage
Dim instance As ShapeRange
Dim Index As Object
Dim value As Shape

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

Parameters

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

Property Value

Type: Microsoft.Office.Interop.PowerPoint.Shape

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.PowerPoint Namespace