Share via


IVsWritableSettingsStore.CreateCollection(String) Method

Definition

Creates a new collection.

public:
 int CreateCollection(System::String ^ collectionPath);
public:
 int CreateCollection(Platform::String ^ collectionPath);
int CreateCollection(std::wstring const & collectionPath);
public int CreateCollection (string collectionPath);
abstract member CreateCollection : string -> int
Public Function CreateCollection (collectionPath As String) As Integer

Parameters

collectionPath
String

[in] The path at which the collection should be created.

Returns

If the full path to the collection already exists, returns S_OK. If the empty string is passed to the method, it returns Microsoft.VisualStudio.E_INVALIDARG.

Remarks

This method is safe to access from any thread.

Applies to