RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.GetOperations Method

Fills a WideString list with the names of all operations defined for a specified port type.

Pascal
procedure GetOperations(const PortTypeName: WideString; OperationNames: TWideStrings; QualifiedNames: Boolean = False);
C++
__fastcall GetOperations(const BSTR PortTypeName, TWideStrings OperationNames, Boolean QualifiedNames = False);

Call GetOperations to retrieve the names of all operations defined in for the port type specified by PortTypeName. An operation corresponds to a method on the interface that corresponds to the specified port type. 

PortTypeName is the name of the port type whose operations are retrieved. 

OperationNames is an existing TWideStrings object to which the names of all operations on PortTypeName are added.  

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

Note: GetOperations does not clear the WideString list before adding the names of the operations on the specified port type.
 

 

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