IForeNETRuntime.ObjectToStream

Fore Syntax

ObjectToStream(Object: IForeNETRuntimeObject): IIOStream;

Fore.NET Syntax

ObjectToStream(Object: Prognoz.Platform.Interop.ForeNet.IForeNETRuntimeObject): System.IO.Stream;

Parameters

Object. .NET object, that must be placed into the stream.

Description

The ObjectToStream method creates the stream and places the specified .NET object into it.

Comments

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.

Example

The example of use is given in description of the IDragDrop.ReadParams method.

See also:

IForeNETRuntime