DesignSurface.Flush Method

Definition

Serializes changes to the design surface.

public:
 void Flush();
public void Flush ();
member this.Flush : unit -> unit
Public Sub Flush ()

Remarks

The Flush method can be called to push changes made to the design surface down to the serializer. This ensures that the design surface and its serialized state are synchronized. The actual implementation of this method is forwarded to the designer loader associated with design surface. The designer loader may choose to defer changes until Flush is called, or it may choose to keep the serialized data up to date with all user changes. The Flush method ensures that regardless of the model the designer loader chooses to use, the serialized state is synchronized with the actual design surface.

Applies to