Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/conceptual/map.pick['key,'t,'u]-function-[fsharp].md
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,7 +13,9 @@ ms.assetid: aa03cc11-bddf-44e4-9264-e517733c3ded

# Map.pick<'Key,'T,'U> Function (F#)

Searches the map looking for the first element where the given function returns a `Some` value
Searches the map looking for the first element where the given function returns a `Some` value. If the function returns `None` for all elements, raises `System.Collections.Generic.KeyNotFoundException`.



**Namespace/Module Path**: Microsoft.FSharp.Collections.Map

Expand DownExpand Up@@ -44,6 +46,10 @@ Type: [Map](https://msdn.microsoft.com/library/975316ea-55e3-4987-9994-90897ad45

The input map.

## Exceptions
|Exception|Condition|
|----|----|
|[KeyNotFoundException](https://msdn.microsoft.com/library/system.collections.generic.keynotfoundexception.aspx)|Thrown if the function returns `None` for all elements.|

## Return Value

Expand Down