ComponentOne Word for WinForms
C1.C1Word.4.8 Assembly / C1.C1Word.Objects Namespace / RtfCollection Class / IndexOf Method
The object for the Word/RTF document.

In This Topic
    IndexOf Method (RtfCollection)
    In This Topic
    Returns the index within the collection of the element.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal obj As RtfObject _
    ) As System.Integer
    public System.int IndexOf( 
       RtfObject obj
    )

    Parameters

    obj
    The object for the Word/RTF document.

    Return Value

    The zero-based index of the first occurrence of element, if found, otherwise, -1.
    See Also