HttpRouteCollection.ContainsKey Method
Determines whether the collection contains an element with the specified key.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overridable Function ContainsKey ( _
name As String _
) As Boolean
'Usage
Dim instance As HttpRouteCollection
Dim name As String
Dim returnValue As Boolean
returnValue = instance.ContainsKey(name)
public virtual bool ContainsKey(
string name
)
public:
virtual bool ContainsKey(
String^ name
)
abstract ContainsKey :
name:string -> bool
override ContainsKey :
name:string -> bool
public function ContainsKey(
name : String
) : boolean
Parameters
- name
Type: System.String
The key to locate in the collection.
Return Value
Type: System.Boolean
true if the collection contains an element with the key; otherwise, false.