RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRemotableXS.XSToNative Method

Assigns the value of a string to the TRemotableXS instance.

Pascal
procedure XSToNative(Data: WideString); virtual; abstract;
C++
virtual __fastcall XSToNative(BSTR Data) = 0;

Override XSToNative when implementing a TRemotableXS descendant that represents a non-native scalar type. NativeToXS interprets a string that represents the value of the TRemotableXS instance and uses it to make any necessary changes so that the TRemotableXS object reflects that value. It reverses the transformation that the NativeToXS method performs. 

Data is a string that represents the value of the TRemotableXS instance. 

 

NativeToXS 

Using Remotable Objects

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