RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRemotableTypeRegistry.SerializeOptions Method (PTypeInfo)

Returns the serialization options for a registered remotable class or type.

Pascal
function SerializeOptions(Info: PTypeInfo): TSerializationOptions; overload;
function SerializeOptions(AClass: TClass): TSerializationOptions; overload;
C++
__fastcall TSerializationOptions SerializeOptions(PTypeInfo Info);
__fastcall TSerializationOptions SerializeOptions(TClass AClass);

SerializeOptions is used internally to retrieve the flags that describe how a remotable class or type is encoded and decoded. These flags are associated with the remotable class or type by calling the RegisterSerializeOptions method. 

AClass is the registered class for which you want to retrieve serialization options. 

Info is the runtime type information for the registered type for which you want to retrieve serialization options.  

SerializeOptions returns the value of SerializationOptions for the class that AClass specifies or the registered options for the type that Info specifies.. 

 

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