getBookmark method

Retrieves a bookmark (opaque string) that can be used with moveToBookmark to return to the same range.

Syntax

var retval = TextRange.getBookmark();

Parameters

This method has no parameters.

Return value

Type: String

String. Returns the bookmark if successfully retrieved, or null otherwise.

Standards information

There are no standards that apply here.

Remarks

This feature might not be available on non-Microsoft Win32 platforms.

See also

TextRange

 

 

Show:
© 2014 Microsoft