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
- Name
Type: System.String
A bookmark name.
Return Value
Type: System.Boolean
True if the specified bookmark exists, False if not.