RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRemotableTypeRegistry.GetExternalPropName Method

Returns the name of the XML element that corresponds to a property of a registered remotable class.

Pascal
function GetExternalPropName(Info: PTypeInfo; InternalName: string): InvString;
C++
__fastcall InvString GetExternalPropName(PTypeInfo Info, AnsiString InternalName);

Use GetExternalPropName to obtain the name of the XML element that was registered as the XML schema analog of a property on a registered remotable class. The association between the element and the property must be previously registered by the RegisterExternalPropname method. 

Info points to the type information of the remotable class that has the property. 

InternalName is the name of the property from which you want to obtain the corresponding XML element name. 

 

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