StorageInfo.DeleteSubStorage Method (String)

 

Deletes a specified sub-store.

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

public void DeleteSubStorage(
	string name
)

Parameters

name
Type: System.String

The name of the sub-store to delete.

Exception Condition
ArgumentNullException

The name parameter is null.

If the specified sub-store itself contains child sub-stores, DeleteSubStorage also recursively deletes all descendant sub-stores.

.NET Framework
Available since 3.0
Return to top
Show: