Поделиться через


IVsWritableSettingsStore.DeleteCollection Method

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)

Syntax

'Declaration
Function DeleteCollection ( _
    collectionPath As String _
) As Integer
int DeleteCollection(
    string collectionPath
)
int DeleteCollection(
    [InAttribute] String^ collectionPath
)
abstract DeleteCollection : 
        collectionPath:string -> int 
function DeleteCollection(
    collectionPath : String
) : int

Parameters

  • collectionPath
    Type: System.String
    [in] The path to the collection to delete.

Return Value

Type: System.Int32
Returns S_OK if the collection was deleted. If the collection does not exist or an empty string ("") is passed, returns S_FALSE.

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

Microsoft.VisualStudio.Shell.Interop Namespace