Refresh Method

DataSourceProvider.Refresh Method ()

 

Initiates a refresh operation to the underlying data model. The result is returned on the Data property.

Namespace:   System.Windows.Data
Assembly:  WindowsBase (in WindowsBase.dll)

member Refresh : unit -> unit

A refresh operation is typically asynchronous, a DataChanged event is raised when the Data property assumed a new value. If the refresh operation fails, the Data property is set to null; the Error property is set with the error exception. The application can call Refresh while a previous refresh is still underway. Calling Refresh twice raises the DataChanged event twice.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft