RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRemotableXS.NativeToXS Method

Returns a string that represents the value of a TRemotableXS instance.

Pascal
function NativeToXS: WideString; virtual; abstract;
C++
virtual __fastcall BSTR NativeToXS() = 0;

Override NativeToXS when implementing a TRemotableXS descendant that represents a non-native scalar type. NativeToXS returns a string that represents the value of the TRemotableXS instance. This string is used when marshaling the value of the TRemotableXS descendant. 

Classes that implement NativeToXS must also override the XSToNative method so that it performs the converse transformation. 

 

XSToNative 

Using Remotable Objects

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