DesignerDocument.ViewMode Property

SharePoint Designer Developer Reference

Returns a Long that represents whether the page has been edited in Code view. A 1 indicates that the page has not been edited; a 2 indicates that the page has been edited.

Syntax

expression.ViewMode

expression   Required. A variable that represents a DesignerDocument object.

See Also