KeyNotFoundException Class
The exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection.
Namespace:
System.Collections.GenericAssembly: Bridge (in Bridge.dll)
Syntax
[ExternalAttribute] [NamespaceAttribute] public class KeyNotFoundException : Exception, IBridgeClass
<ExternalAttribute> _ <NamespaceAttribute> _ Public Class KeyNotFoundException _ Inherits Exception _ Implements IBridgeClass
[ExternalAttribute] [NamespaceAttribute] public ref class KeyNotFoundException : public Exception, IBridgeClass
Inheritance Hierarchy
System..::..Exception
System.Collections.Generic..::..KeyNotFoundException