Resets the top (free space boundary) of the storage to the very beginning. This function does not deallocate any memory. If the storage has a parent, the function returns all blocks to the parent

C# | Visual Basic | Visual C++ |
public void Clear()
Public Sub Clear
public: void Clear()