Language
Edit

DataSourceBase.GetCollectionCount(String) Method

Definition

If a key path represents a collection, return the number of items in that collection.

public virtual int GetCollectionCount(string resolvedKeyPath);
abstract member GetCollectionCount : string -> int
override this.GetCollectionCount : string -> int
Public Overridable Function GetCollectionCount (resolvedKeyPath As String) As Integer

Parameters

resolvedKeyPath
String

The key path of data to be checked.

Returns

integer size of the collection. An empty collection is valid.

Implements

Applies to