RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRemotableTypeRegistry.URIToClass Method (InvString, InvString)

Returns the class associated with a specified namespace URI.

Pascal
function URIToClass(const URI: InvString; const Name: InvString; var IsScalar: Boolean): TClass; overload;
function URIToClass(const URI: InvString; const Name: InvString): TClass; overload;
C++
__fastcall TClass URIToClass(const InvString URI, const InvString Name, Boolean IsScalar);
__fastcall TClass URIToClass(const InvString URI, const InvString Name);

URIToClass looks up a registered remotable class given its namespace URI and typename.  

URI is the namespace URI associated with the class. This association is established by the RegisterXSClass method. 

Name is the name of the type that the class represents. If the class does not have a corresponding type name, Name should be an empty string. 

IsScalar returns true if the class represents a scalar type, false otherwise. 

URIToClass returns the class reference for the class identified by URI (and Name). 

 

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