Bookmarks.Exists Method

Determines whether the specified bookmark exists.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function Exists ( _
    Name As String _
) As Boolean
'Usage
Dim instance As Bookmarks
Dim Name As String
Dim returnValue As Boolean

returnValue = instance.Exists(Name)
bool Exists(
    string Name
)

Parameters

Return Value

Type: System.Boolean
True if the specified bookmark exists, False if not.

See Also

Reference

Bookmarks Interface

Bookmarks Members

Microsoft.Office.Interop.Word Namespace