Finds the only item with the specified key value and throws an exception if there is not exactly one item with that key value.
'Declaration
Public Overridable Function FindSingle( _
ByVal As _
) As
public virtual FindSingle(
)
Parameters
- key
- The key value to search for.
Return Value
The item of the collection that contains the specified key value, if found.