Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

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

Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns a [Bookmark|Bookmark] object that represents the bookmark in this document that has the specified name.{excerpt}
{signature:C#}
 public Bookmark GetBookmark(System.String name)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function GetBookmark(ByVal name As String) As Bookmark
Parameters

...

The name of the bookmark.

Returns

A Bookmark object representing the bookmark specified.

{signature}
{parameters}
{param:name}The name of the bookmark.{param}
{returns}A {{Bookmark}} object representing the bookmark specified.{returns}
{example}{code:csharp|title=C#}

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

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

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle