<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=6889170&amp;fmt=gif">
Skip to content
  • There are no suggestions because the search field is empty.

Methods | IScriptContext.GetNewDocument Method

Gets a new document reference with the supplied docid.

Syntax

C# Copy
DocumentItem GetNewDocument(
	string docId
)

Parameters
docid    String
              The document identifier to associate to the document.

Return Value
DocumentItem
A new document item reference that can be created.

Remarks
The DocumentItem is not added until it is passed to CreateDocument(DocumentItem).

See Also

Reference
IScriptContext Interface
Compiled.EDD.Scripting Namespace