Soap.InvokeRegistry.TRemotableTypeRegistry.RegisterExternalPropName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RegisterExternalPropName(Info: PTypeInfo; const InternalName: string; const ExternalName: InvString);

C++

void __fastcall RegisterExternalPropName(System::Typinfo::PTypeInfo Info, const System::UnicodeString InternalName, const InvString ExternalName);

Properties

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

Description

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

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.