PreviewDraftButtonDocumentID Property Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Sets or gets the id of the document to preview The default value is zero which indicates that the component should use the current document of the document beeing edited. This will be the value of the CS_InsertedDocumentId property. This property must be zero or more.

Namespace: ContentStudio.Site.ActiveScripting.Document
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public int DocumentID { get; set; }

Property Value

Type: Int32
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionThe property is less than zero.
See Also

Reference