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