ComponentOne Word for WinForms
C1.C1Word.4.5.2 Assembly / C1.C1Word.Canvas Namespace / ShapeCollection Class / IndexOf Method / IndexOf(Int32) Method
The identifier of the object to look for.

In This Topic
    IndexOf(Int32) Method
    In This Topic
    Gets the position of an DrawingShape object in the collection.
    Syntax
    'Declaration
     
    Public Overloads Function IndexOf( _
       ByVal id As System.Integer _
    ) As System.Integer
    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