ListDictionary.FindAllValuesByKey Method
Retrieves the all the elements from the list which have a key that matches the condition defined by the specified predicate.
Namespace: Microsoft.Practices.CompositeUI.Utility
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Public Function FindAllValuesByKey ( _
keyFilter As Predicate(Of TKey) _
) As IEnumerable(Of TValue)
'Usage
Dim instance As ListDictionary(Of TKey, TValue)
Dim keyFilter As Predicate(Of TKey)
Dim returnValue As IEnumerable(Of TValue)
returnValue = instance.FindAllValuesByKey(keyFilter)
public IEnumerable<TValue> FindAllValuesByKey (
Predicate<TKey> keyFilter
)
public:
IEnumerable<TValue>^ FindAllValuesByKey (
Predicate<TKey>^ keyFilter
)
public IEnumerable<TValue> FindAllValuesByKey (
Predicate<TKey> keyFilter
)
public function FindAllValuesByKey (
keyFilter : Predicate<TKey>
) : IEnumerable<TValue>
Parameters
- keyFilter
The filter with the condition to use to filter lists by their key.
See Also
Reference
ListDictionary Class
ListDictionary Members
Microsoft.Practices.CompositeUI.Utility Namespace