[]
        
(Showing Draft Content)

C1.LiveLinq.Indexing.Subindex-2.KeySelector

KeySelector Property

KeySelector

Gets the expression used to obtain key value from an element of the indexed collection.

Declaration
public Expression<Func<T, TKey>> KeySelector { get; }
Property Value
Type Description
Expression<Func<T, TKey>>

An expression calculating the key value from an item (element of the collection). Typically, this is a field or a property in the item class, although more complex expressions can also be used.