[]
        
(Showing Draft Content)

C1.Word.Objects.RtfBookmarkCollection.Contains

Contains Method

Contains(RtfBookmark)

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

Declaration
public bool Contains(RtfBookmark obj)
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)
Parameters
Type Name Description
string name

The text name of the bookmark.

Returns
Type Description
bool

True if contains, otherwise false.