Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / BookmarkCollection Class / TryGetValue Method
The bookmark name.
When this method returns, contains the bookmark with the specified name, if the key is found, otherwise null.

In This Topic
    TryGetValue Method (BookmarkCollection)
    In This Topic
    Gets a bookmark from the collection by its name.
    Syntax
    'Declaration
     
    Public Function TryGetValue( _
       ByVal name As System.String, _
       ByRef bookmark As Bookmark _
    ) As System.Boolean
    public System.bool TryGetValue( 
       System.string name,
       out Bookmark bookmark
    )

    Parameters

    name
    The bookmark name.
    bookmark
    When this method returns, contains the bookmark with the specified name, if the key is found, otherwise null.

    Return Value

    true if the bookmark with the specified name is found, otherwise false.
    See Also