次の方法で共有


WritableSettingsStore.CreateCollection Method

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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'宣言
Public MustOverride Sub CreateCollection ( _
    collectionPath As String _
)
public abstract void CreateCollection(
    string collectionPath
)

Parameters

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

See Also

Reference

WritableSettingsStore Class

Microsoft.VisualStudio.Settings Namespace