DataSourceObjects.GetCollectionCount(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.
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.