Gets the position of an
DrawingShape object in the collection.
'Declaration
Public Overloads Function IndexOf( _
ByVal As Integer _
) As Integer
public int IndexOf(
int
)
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