Soap.InvokeRegistry.TRemotableTypeRegistry.ClassToURI

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  ClassToURI(AClass: TClass; var URI, Name: InvString; var IsScalar: Boolean; tryToRegister: Boolean = True): Boolean; overload;
function  ClassToURI(AClass: TClass; var URI, Name: InvString): Boolean; overload;

C++

bool __fastcall ClassToURI(System::TClass AClass, System::UnicodeString &URI, System::UnicodeString &Name, bool &IsScalar, bool tryToRegister = true)/* overload */;
bool __fastcall ClassToURI(System::TClass AClass, System::UnicodeString &URI, System::UnicodeString &Name)/* overload */;

Properties

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

Description

Returns the namespace URI associated with a specified remotable class.

ClassToURI looks up a registered remotable class and retrieves its namespace URI and typename. The association of the class and its namespace URI and typename is established when you call RegisterXSClass to register the remotable class.

AClass is a class reference for the remotable class you want to look up.

URI returns the namespace URI that is associated with the class.

Name returns the registered name of the type the class represents.

IsScalar indicates whether the class corresponds to a scalar type in a WSDL document.

tryToRegister indicates whether the remotable type registry should auto-register the class that AClass specifies if it is not already registered. This parameter is only used if the AutoRegisterNativeTypes property is true.

See Also