BasicNoUIObjSynchronize Method |
Synchronize with the remote Basic Control/Object.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic void Synchronize(
string param,
int id
)
Public Sub Synchronize (
param As String,
id As Integer
)
public:
virtual void Synchronize(
String^ param,
int id
) sealed
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)
RemarksSynchronize 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);
}
Private Sub BasicIdeCtl1_Synchronizing(ByVal sender As Object, ByVal e As SynchronizingEventArgs) Handles BasicIdeCtl.Synchronizing
BasicNoUICtl1.Synchronize(e.Param, e.Id)
End Sub
private: System::Void basicIdeCtl1_Synchronizing(System::Object ^ sender, SynchronizingEventArgs ^ e)
{
BasicNoUICtl1->Synchronize(e->Param, e->Id);
}
See Also