SettingsStore.GetPropertyCount(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 properties under the given collection.
public:
abstract int GetPropertyCount(System::String ^ collectionPath);
public:
abstract int GetPropertyCount(Platform::String ^ collectionPath);
abstract int GetPropertyCount(std::wstring const & collectionPath);
public abstract int GetPropertyCount (string collectionPath);
abstract member GetPropertyCount : string -> int
Public MustOverride Function GetPropertyCount (collectionPath As String) As Integer
Parameters
- collectionPath
- String
Path of the collection.
Returns
Number of properties is returned.
Exceptions
If the collection does not exist, method throws this exception.
Remarks
This method is safe to access from any thread.