RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.GetHeaderNamespace Method (PTypeInfo, TClass)

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

Pascal
function GetHeaderNamespace(Info: PTypeInfo; AClass: TClass): WideString; overload;
function GetHeaderNamespace(AClass: TClass): WideString; overload;
C++
__fastcall BSTR GetHeaderNamespace(PTypeInfo Info, TClass AClass);
__fastcall BSTR GetHeaderNamespace(TClass AClass);

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. 

 

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