ComponentOne Word for UWP
IndexOf(String) Method

C1.UWP.Word Assembly > C1.Xaml.Word.Objects Namespace > RtfBookmarkCollection Class > IndexOf Method : IndexOf(String) Method
The text name of the bookmark.
Returns the index within the collection of the element.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal name As System.String _
) As System.Integer
public System.int IndexOf( 
   System.string name
)

Parameters

name
The text name of the bookmark.

Return Value

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

Reference

RtfBookmarkCollection Class
RtfBookmarkCollection Members
Overload List