WritableSettingsStore.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 the given collection path by creating each nested collection while skipping the ones that already exist. If the full path of collections already exist, the method simply returns.
public:
abstract void CreateCollection(System::String ^ collectionPath);
public:
abstract void CreateCollection(Platform::String ^ collectionPath);
abstract void CreateCollection(std::wstring const & collectionPath);
public abstract void CreateCollection (string collectionPath);
abstract member CreateCollection : string -> unit
Public MustOverride Sub CreateCollection (collectionPath As String)
Parameters
- collectionPath
- String
Path of the collection.
Exceptions
If empty string ("") which deis passed to the method it throws this exception.
Remarks
This method is safe to access from any thread.