Soap.InvokeRegistry.TInvokableClassRegistry.GetHeaderNamespace

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetHeaderNamespace(Info: PTypeInfo; AClass: TClass): InvString; overload;
function GetHeaderNamespace(AClass: TClass): InvString; overload;

C++

System::UnicodeString __fastcall GetHeaderNamespace(System::Typinfo::PTypeInfo Info, System::TClass AClass)/* overload */;
System::UnicodeString __fastcall GetHeaderNamespace(System::TClass AClass)/* overload */;

Properties

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

Description

Returns the namespace URI for a header that is identified by a specified class reference.

GetHeaderNamespace returns the namespace in which a header's name is defined. This is the namespace URI supplied to a call to RegisterHeaderClass when the header was registered. If the header was registered without supplying a namespace URI, this is the same namespace as the one associated with the interface that uses the header.

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.

GetHeaderNamespace returns the namespace URI to use for resolving the name of the header.

See Also