ContainsKey Method
Definition
- Namespace
- Cuemon.Extensions.Collections.Specialized
- Assemblies
- Cuemon.Extensions.Collections.Specialized.dll
ContainsKey(NameValueCollection, string)
Determines whether the specified nvc contains an entry with the specified key.
public static bool ContainsKey(this NameValueCollection nvc, string key)
Parameters
nvcNameValueCollectionThe NameValueCollection to extend.
keystringThe key to locate in
nvc.
Returns
- bool
trueif the specifiednvccontains an entry with thekey; otherwise,false.
Remarks
This method performs an OrdinalIgnoreCase search for key.