RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.GetParts Method

Fills a list with the names of all parts defined for a specified message.

Pascal
procedure GetParts(const MessageName: WideString; PartNames: TWideStrings; QualifiedNames: Boolean = False);
C++
__fastcall GetParts(const BSTR MessageName, TWideStrings PartNames, Boolean QualifiedNames = False);

Call GetParts to retrieve the names of all parts that make up a specified message. A part corresponds to definition from some type system. 

MessageName is the name of the message whose parts are retrieved. 

PartNames is an existing TWideStrings object to which the names of all parts on MessageName are added.  

QualifiedNames indicates whether the part names added to the list should be qualified using the target namespace prefix.

Note: GetParts does not clear the WideString list before adding the names of the parts of the specified message.
 

 

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