Item Method (HDLSourceDocuments Collection)

Scope: Xpedition Designer schematic editor

Collection: HDLSourceDocuments Collection

Access: Read-Only

Prerequisites: None

Returns an HDLSourceDocument Object contained in the collection.

Usage

HDLSourceDocuments.Item(ByVal Index As Variant) As IHDLSourceDocument

Arguments

Index

Numerical index of the HDLSourceDocument Object to retrieve from the collection.

Note:

The document count in an HDLSourceDocuments collection begins at 1, not 0. This is primarily used by the C++ interface since it does not support a For Each type of iterator.

Return Values

IHDLSourceDocument. The HDLSourceDocument Object.

Examples

Using C++:

For Index=1 To HDLSourceDocuments.Count 
   Set Doc = HDLSourceDocuments.Item(Index) 
Next 
 

Using VBScript:

For Each Doc In HDLSourceDocuments 
   DocName = Doc.Name 
Next