RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRemotableTypeRegistry.RegisterExternalPropName Method

Registers the correspondence between a property name on a remotable class and the corresponding element name in an XML schema.

Pascal
procedure RegisterExternalPropName(Info: PTypeInfo; const InternalName: string; const ExternalName: InvString);
C++
__fastcall RegisterExternalPropName(PTypeInfo Info, const AnsiString InternalName, const InvString ExternalName);

Use RegisterExternalPropName to create an association between the name of an element in an XML schema complex type and the corresponding property of the remotable class that represents that type. This allows the remotable class to represent complex types that include elements with names that are not valid (for example, keywords). 

Info points to the type information of the remotable class that corresponds to a complex type defined in an XML schema. 

InternalName is the name used for the property of the remotable class that corresponds to the element. 

ExternalName is the name of the element that is part of the complex type that the XML schema defines. 

 

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