SettingsStore.GetSubCollectionCount(String) Method

Definition

Returns the number of sub collections under the given collection.

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

Parameters

collectionPath
String

Path of the collection.

Returns

Number of sub collections is returned.

Exceptions

If the collection does not exist, method throws this exception.

Remarks

This method is safe to access from any thread.

Applies to