Cuemon .NET Framework
ContainsKey Method (NameValueCollectionUtility)

The System.Collections.Specialized.NameValueCollection to search for key.
The key to locate in c.
Determines whether the specified c contains an entry with the specified key.
Syntax
'Declaration
 
Public Shared Function ContainsKey( _
   ByVal c As NameValueCollection, _
   ByVal key As String _
) As Boolean
public static bool ContainsKey( 
   NameValueCollection c,
   string key
)

Parameters

c
The System.Collections.Specialized.NameValueCollection to search for key.
key
The key to locate in c.

Return Value

true if the specified c contains an entry with the key; otherwise, false.
Remarks
This method performs an System.StringComparison.OrdinalIgnoreCase search for key.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NameValueCollectionUtility Class
NameValueCollectionUtility Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback