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 the given collection path by creating each nested collection while skipping the ones that already exist.
Namespace: Microsoft.VisualStudio.Settings
Assemblies: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)
Syntax
'Declaration
Public MustOverride Sub CreateCollection ( _
collectionPath As String _
)
public abstract void CreateCollection(
string collectionPath
)
public:
virtual void CreateCollection(
String^ collectionPath
) abstract
abstract CreateCollection :
collectionPath:string -> unit
public abstract function CreateCollection(
collectionPath : String
)
Parameters
collectionPath
Type: StringPath of the collection.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | If empty string ("") which deis passed to the method it throws this exception. |
Remarks
If the full path of collections already exist, the method simply returns.
.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.