Soap.InvokeRegistry.TInvokableClassRegistry.GetHeaderName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetHeaderName(Info: PTypeInfo; AClass: TClass): InvString;

C++

System::UnicodeString __fastcall GetHeaderName(System::Typinfo::PTypeInfo Info, System::TClass AClass);

Properties

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

Description

Returns the name of a header that is identified by a specified class reference.

GetHeaderName returns the name of a header given the class that represents it. This is the name supplied to a call to RegisterHeaderClass when the header was registered. If the header was registered without supplying a name, this is the same name as the type name supplied for the header when it is registered with the remotable type registry.

Info is the runtime type information for the interface associated with the header.

AClass is a class reference to the TSOAPHeader descendant that represents the header.

GetHeaderName returns the name of the header. This name is defined within the namespace that the GetHeaderNamespace method returns.

See Also