SettingsStore.GetPropertyCount(String) Method

Definition

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.

Applies to