RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.GetReturnParamNames Method

Returns the list of parameter names that map to return values of interface methods.

Pascal
function GetReturnParamNames(const IntfInfo: PTypeInfo): string;
C++
__fastcall AnsiString GetReturnParamNames(const PTypeInfo IntfInfo);

GetReturnParamNames returns the list of parameter names that have been registered as mapping to return values of methods on a specified interface. Any out messages in a port type with these names are identified as the return value of a method on the corresponding interface. If the application does not explicitly register output parameter names by a call to RegisterReturnParamNames, GetReturnParamNames returns the default list, 'Result;Return'.  

IntfInfo is the type information pointer for the invokable interface for which you want the registered parameter names. 

GetReturnParamNames returns the list of parameter names as a semicolon delimited list. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!