Buffer.Reset 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.
Resets the buffer to its initial state as if it were newly created.
public void Reset();
Remarks
This clears contents and resets all properties to their default values.