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.
Creates a new collection.
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 CreateCollection ( _
collectionPath As String _
) As Integer
int CreateCollection(
string collectionPath
)
int CreateCollection(
[InAttribute] String^ collectionPath
)
abstract CreateCollection :
collectionPath:string -> int
function CreateCollection(
collectionPath : String
) : int
Parameters
collectionPath
Type: String[in] The path at which the collection should be created.
Return Value
Type: Int32
If the full path to the collection already exists, returns S_OK. If the empty string is passed to the method, it returns E_INVALIDARG.
.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.