Document.State

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;

Copyright © 2010 - 2023 Emakin. All rights reserved.