Language
Edit

IDataSource.IsCollectionAtKeyPath(String) Method

Definition

Determine if key path represents a data collection

public bool IsCollectionAtKeyPath(string resolvedKeyPath);
abstract member IsCollectionAtKeyPath : string -> bool
Public Function IsCollectionAtKeyPath (resolvedKeyPath As String) As Boolean

Parameters

resolvedKeyPath
String

The key path of data to be checked.

Returns

A Boolean indication of whether that resolvedKeyPath represents a collection.

Remarks

When a data consumer is notified of a data change at the specified resolvedKeyPath, this can be used to determine if that object represents a collection. The collection can be of any type that can be accessed reliably via an index value. This is useful for auto-generating and presenting a collection that contains variable data, like a collection of users, or playlists.

Applies to