ComponentOne Excel for UWP
IndexOf(XLShape) Method

C1.UWP.Excel Assembly > C1.Xaml.Excel Namespace > ShapeCollection Class > IndexOf Method : IndexOf(XLShape) Method
XLShape object to look for.
Gets the position of an XLShape object in the collection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal shape As XLShape _
) As System.Integer
public System.int IndexOf( 
   XLShape shape
)

Parameters

shape
XLShape object to look for.

Return Value

The position of the object in the collection, or -1 if the object is not a member of the collection.
See Also

Reference

ShapeCollection Class
ShapeCollection Members
Overload List