'Declaration Public Overloads Function Contains(Of TKey)( _ ByVal keySelector As Expression(Of Func(Of T,TKey)) _ ) As Boolean
public bool Contains<TKey>( Expression<Func<T,TKey>> keySelector )
Parameters
- keySelector
- Key selector expression of a subindex, see KeySelector.
Type Parameters
- TKey
- The type of the subindex key.
Return Value
true if a subindex with the specified key selector is found in the collection; otherwise, false.