SocketTools .NET Edition

WebStorage.DeleteAll Method 

Delete all stored objects in the container.

[Visual Basic]
Public Function DeleteAll() As Boolean
[C#]
public bool DeleteAll();

Return Value

This method returns a Boolean value. If all stored objects in the container have been deleted, it will return true, otherwise it will return false.

Remarks

The storage container contains information for each of the objects that have been stored by the application. Each of these objects are associated with the application ID and the storage type that was specified when calling the Open method. The DeleteAll method instructs the server to remove all objects in the container, resetting it back to its initial state.

Exercise caution when using this method. The operation is immediate and the objects that are stored in the container are permanently deleted. They cannot be recovered by your application.

See Also

WebStorage Class | SocketTools Namespace | Delete Method