ComponentOne Word for WinForms
C1.C1Word.4.5.2 Assembly / C1.C1Word.Objects Namespace / RtfBookmarkCollection Class / IndexOf Method / IndexOf(RtfBookmark) Method
The bookmark for the Word/RTF document.

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

    Parameters

    obj
    The bookmark for the Word/RTF document.

    Return Value

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