Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Deletes a collection, as well as all its properties and sub-collections.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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: String[in] The path to the collection to delete.
Return Value
Type: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.