Share via


DesignerDocument.anchors Property

SharePoint Designer Developer Reference

Returns an ElementCollection object that represents all of the bookmarks in a document.

Syntax

expression.anchors

expression   Required. A variable that represents a DesignerDocument object.

Remarks

The anchors property returns only bookmarks, which are <A> tags that have the name attribute. Use the links property to return a collection of hyperlinks, which are <A> tags that have the href attribute.

See Also