SettingsStore.GetSubCollectionCount(String) Method

Definition

Returns the number of sub collections under the given collection.

C++/CX
public:
 abstract int GetSubCollectionCount(Platform::String ^ collectionPath);

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

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022