SettingsStore.GetSubCollectionCount(String) Method
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);
C++/CX
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
- collectionPath
- String
Path of the collection.
Number of sub collections is returned.
If the collection does not exist, method throws this exception.
This method is safe to access from any thread.
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |