[]
        
(Showing Draft Content)

C1.C1Word.Objects.RtfBookmarkCollection.Contains

Contains Method

Contains(RtfBookmark)

Determines whether the Word/RTF bookmark is located within the collection.

Declaration
public bool Contains(RtfBookmark obj)
Public Function Contains(obj As RtfBookmark) As Boolean
Parameters
Type Name Description
RtfBookmark obj

The bookmark for the Word/RTF document.

Returns
Type Description
bool

true if contains, otherwise false.

Contains(string)

Determines whether the bookmark with name is located within the collection.

Declaration
public bool Contains(string name)
Public Function Contains(name As String) As Boolean
Parameters
Type Name Description
string name

The text name of the bookmark.

Returns
Type Description
bool

True if contains, otherwise false.