CNiBinding::Update

CNi

Class
CNiBinding::
Update()
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: SetBindObjectNext page: CNiBinding    
Public Function Declared in:
NiBinding.h

'Declaration' icon -- Shortcut to top of page. Declaration

void Update();

'Description' icon -- Shortcut to top of page. Description

Causes the CNiBinding object to read from a data source or write to a data target.

Notes:

1. Call this function on a CNiBinding object that you configured for Read mode or for Write mode when you want the CNiBinding object to transfer data from its data source or to its data target, respectively.

2. The CNiBinding object performs read operations asynchronously. You must return control to your application's message loop after you call Update to allow the CNiBinding to object transfer the data from the data source to the CNiBinding object's Data property. You can check the CNiBinding object's DataUpdated property inside a message loop to determine when it has finished transferring the data. Alternatively, you can install a DataUpdated event handler or override the OnDataUpdated virtual function to receive notification when the CNiBinding object's Data property is updated.

'See Also' icon -- Shortcut to top of page. See Also