Language
Edit

DataSourceReflection.GetCollectionCount(String) Method

Definition

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

public override int GetCollectionCount(string resolvedKeyPath);
override this.GetCollectionCount : string -> int
Public Overrides 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.

Applies to