RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.GetImports Method

Fills a WideString list with the namespaces of all documents imported by this one.

Pascal
procedure GetImports(ImportNames: TWideStrings);
C++
__fastcall GetImports(TWideStrings ImportNames);

Call GetImports to retrieve the namespaces for of all documents that are imported into this one using an <import> tag. The location of these imported documents can be retrieved from the namespace using the GetLocationForImport method. 

ImportNames is an existing TWideStrings object to which the namespaces for any imports are added.

Note: GetImports does not clear the WideString list before adding the namespaces for all imported documents.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!