Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Returns a Bookmark object that represents the bookmark in this document that has the specified name.

Signature
C#
C#
 public Bookmark GetBookmark(System.String name)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Function GetBookmark(ByVal name As String) As Bookmark
{signature}
{parameters}
{param:name}The name of the bookmark.{param}
{returns}A {{Bookmark}} object representing the bookmark specified.{returns}
{example}{code:csharp|title=C#}
Parameters
Param
name
name

The name of the bookmark.

Returns

A Bookmark object representing the bookmark specified.

Example
Code Block
csharp
csharp
titleC#


          Bookmark oBookmark = oDocument.GetBookmark("MyBookmark");
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          Dim oBookmark As Bookmark = oDocument.GetBookmark("MyBookmark")
        
{code} {example}