RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRemotableTypeRegistry.RegisterSerializeOptions Method (PTypeInfo, TSerializationOptions)

Registers a set of serialization options that should be used with a registered remotable class or type.

Pascal
procedure RegisterSerializeOptions(Info: PTypeInfo; SerialOpt: TSerializationOptions); overload;
procedure RegisterSerializeOptions(AClass: TClass; SerialOpt: TSerializationOptions); overload;
C++
__fastcall RegisterSerializeOptions(PTypeInfo Info, TSerializationOptions SerialOpt);
__fastcall RegisterSerializeOptions(TClass AClass, TSerializationOptions SerialOpt);

RegisterSerializeOptions associates a registered remotable class or type with a set of flags that indicate how to encode or decode its value. Typically, this method is called by the WSDL importer.  

AClass identifes the class for which you are supplying serialization options. It must be previously registered by a call to RegisterXSClass

Info is the runtime type information for a type when you are supplying serialization options for a type rather than a class. It must be previously registered by a call to RegisterXSInfo.  

SerialOpt is the set of flags that customize how the class is encoded or decoded. 

 

SerializationOptions 

SerializeOptions 

RegisterXSClass 

RegisterXSInfo 

Defining and Using SOAP Headers

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