Excel for WinRT
IndexOf(Int32) Method


The identifier of the object to look for.
Gets the position of an XLShape object in the collection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal id As System.Integer _
) As System.Integer
'Usage
 
Dim instance As ShapeCollection
Dim id As System.Integer
Dim value As System.Integer
 
value = instance.IndexOf(id)
public System.int IndexOf( 
   System.int id
)

Parameters

id
The identifier of the 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

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback