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)

public void Refresh()
You cannot use methods in XAML.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

© 2015 Microsoft