Skip to main content

What it does

Represents an element (a batch, document or page) as the type specified in the Type property. Note. This object is not available on the Web Verification Station for checking rules locally.

Properties

NameTypeAccessName
AsBatchIBatchRead-onlyReturns the element as a batch
AsDocumentIDocumentRead-onlyReturns the element as a document
AsPageIPageRead-onlyReturns the element as a page
BatchIBatchRead-onlyThe batch that contains the element
BatchNamestringRead-onlyThe name of the batch
ChildItemsIBatchItemsRead-onlyA collection of child elements
IndexintRead-onlyThe index number of the element in the collection
ParentIBatchItemRead-onlyThe parent element
TypeTBatchItemTypeRead-onlyThe type of the element