ObjectToStream(Object: IForeNETRuntimeObject): IIOStream;
ObjectToStream(Object: Prognoz.Platform.Interop.ForeNet.IForeNETRuntimeObject): System.IO.Stream;
Object. .NET object, that must be placed into the stream.
The ObjectToStream method creates the stream and places the specified .NET object into it.
In the current implementation, this method is used to place into a stream the parameters of events arising on dragging of data from Fore components to .NET component, loaded in NetControlBox. The received stream can be used in the IDragDrop.ReadParams method to convert and receive data at the processing of events of .NET component.
The example of use is given in description of the IDragDrop.ReadParams method.
See also: