Click or drag to resize

BasicNoUIObjSynchronize Method

Synchronize with the remote Basic Control/Object.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public void Synchronize(
	string param,
	int id
)

Parameters

param  String
Synchronize with remote Basic Control/Object using this data. This is a JSON encoded string. It can be either an object or an array of objects. If the object contains an "id" member, the id parameter below is ignored.
id  Int32
This value identifies any resulting Synchronizing events that are specific to this Synchronize method call. The class ignores this value. (Negative values are reserved for internal use.)

Implements

IBasicNoUISynchronize(String, Int32)
Remarks
Synchronize with remote Basic Control/Object using this data. A Synchronizing event is the source of this data. Actions indicated by Param are handled after this method returns. (The host thread/application must have a windows message pump.)

Note: This method does not do anything if the Synchronized property is False.

Example
Synchronize with this remote data:
private void basicIdeCtl1_Synchronizing(object sender, SynchronizingEventArgs e)
{
    BasicNoUICtl1.Synchronize(e.Param, e.Id);
}
See Also