StorageInfo.DeleteSubStorage Method

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.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft