IVsWritableSettingsStore.CreateCollection(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.