共用方式為


SettingsStore.CollectionExists(String) Method

Definition

Checks the existance of the collection passed in to this method.

public:
 abstract bool CollectionExists(System::String ^ collectionPath);
public:
 abstract bool CollectionExists(Platform::String ^ collectionPath);
 abstract bool CollectionExists(std::wstring const & collectionPath);
public abstract bool CollectionExists (string collectionPath);
abstract member CollectionExists : string -> bool
Public MustOverride Function CollectionExists (collectionPath As String) As Boolean

Parameters

collectionPath
String

Path of the collection.

Returns

Returns true if the collection exists and false otherwise.

Remarks

This method is safe to access from any thread.

Applies to