WinFormsUIElementBase.Flush Method
Prepares the external data part for an upcoming Save() operation or an IsDirty check.
Namespace: Microsoft.Office.BusinessApplications.Runtime.UI
Assembly: Microsoft.Office.BusinessApplications.RuntimeUi (in Microsoft.Office.BusinessApplications.RuntimeUi.dll)
Syntax
'Declaration
Public Sub Flush
'Usage
Dim instance As WinFormsUIElementBase
instance.Flush()
public void Flush()
Remarks
The following are examples for when to call this method:
Before an IsDirty check, which happens when the dialog or the Microsoft Office UI that displays this external data part is being closed.
Before a Save() operation, which happens when the user explicitly saves the individual external data part or the Microsoft Office item that displays this external data part.