SettingsStore.GetSubCollectionCount(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.
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.