WritableSettingsStore::DeleteCollection Method (String^)

 

Deletes the given collection recursively deleting all of the sub-collections and properties in it. If the collection does not exist or an empty string ("") is passed then the method returns false.

Namespace:   Microsoft.VisualStudio.Settings
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
virtual bool DeleteCollection(
	String^ collectionPath
) abstract

Parameters

collectionPath
Type: System::String^

Path of the collection to be deleted.

Return Value

Type: System::Boolean
Return to top
Show: