Overview
Gets the state of a document.( "Draft" | "Published" | "Archived" | "Deleted" ) myDocument.State { get; }
Remarks
This property returns one of following values:
Readonly State Published, Deleted and Archive state makes documents read only. Except profile data all other properties including document content is read only, any change attempt is prohibited. When the information about the current state of a document is needed:
Example
var state_of_a_document = mydocument.State;