Soap.InvokeRegistry.TInvokableClassRegistry.RegisterReturnParamNames

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RegisterReturnParamNames(Info: PTypeInfo; const RetParamNames: InvString);

C++

void __fastcall RegisterReturnParamNames(System::Typinfo::PTypeInfo Info, const InvString RetParamNames);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry TInvokableClassRegistry

Description

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

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.

See Also