MemoryMappedViewStream.Flush Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clears all buffers for this stream and causes any buffered data to be written to the underlying file.
public:
override void Flush();
public override void Flush ();
[System.Security.SecurityCritical]
public override void Flush ();
override this.Flush : unit -> unit
[<System.Security.SecurityCritical>]
override this.Flush : unit -> unit
Public Overrides Sub Flush ()
- Attributes
Remarks
If you are using views that are adjacent to each other, this method will also clear the following data, provided its size is equal to a multiple of the system page size:
Any data that precedes the view up until the latest file offset.
Any data that follows the view up until the earliest file offset.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om