IVsWritableSettingsStore::DeleteCollection Method (String^)

 

Deletes a collection, as well as all its properties and sub-collections.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int DeleteCollection(
	String^ collectionPath
)

Parameters

collectionPath
Type: System::String^

[in] The path to the collection to delete.

Return Value

Type: System::Int32

Returns T:Microsoft.VisualStudio.VSConstants.S_OK if the collection was deleted. If the collection does not exist or an empty string ("") is passed, returns T:Microsoft.VisualStudio.VSConstants.S_FALSE.

Return to top
Show: