Determines whether the specified [NameValueCollection] contains the entry with
the specified both name and value.
Namespace:
WebSocketSharp
Assembly:
C-DEngine (in C-DEngine.dll)
public static bool Contains(
NameValueCollection collection,
string name,
string value
)
Public Shared Function Contains ( _
collection As NameValueCollection, _
name As String, _
value As String _
) As Boolean
public:
static bool^ Contains(
NameValueCollection^ collection,
String^ name,
String^ value
)
Parameters
- collection
- Type: NameValueCollection
A [NameValueCollection] to test.
- name
- Type: String
A String that represents the key of the entry to find.
- value
- Type: String
A String that represents the value of the entry to find.
Return Value
true if
collection contains the entry with both
name and
value; otherwise,
false.