Udostępnij za pośrednictwem


WritableSettingsStore.CreateCollection(String) Method

Definition

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.

Applies to