Document.ReferencedDocuments is implemented as a stack, why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Out of curiosity why `Document.ReferencedDocuments` is implemented as a stack?
To try that:
1. open an assembly
2. add these lines in an iLogic rule:
SyntaxEditor Code Snippet
Dim doc As Document = ThisApplication.ActiveDocument MsgBox(doc.ReferencedDocuments.Item(1).FullFileName)
3. place one document
4. run the rule
5. repeat from step 3