RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.RegisterReturnParamNames Method

Registers a list of parameter names that map to return values of interface methods.

Pascal
procedure RegisterReturnParamNames(Info: PTypeInfo; const RetParamNames: string);
C++
__fastcall RegisterReturnParamNames(PTypeInfo Info, const AnsiString RetParamNames);

RegisterReturnParamNames registers a list of parameter names that correspond to the return value of methods on a specified interface. Typically, this method is called by the WSDL importer. It is important that these names correspond exactly to those that the WSDL importer uses if the interface was imported from a WSDL document. 

Info is the type information pointer for the invokable interface whose method return values map to the names in the list. 

RetParamNames is a semicolon delimited list of parameter names that map to return values of methods on the specified interface. If RetParamNames is an empty string, the methods of the interface never have a return value (only output parameters). If no return parameter names are registered for an interface, the default list, 'Result;Return', is used. 

 

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