C-DEngine 5.105

HttpListenerPrefixCollection..::..Contains Method

Returns a value indicating whether the collection contains the specified uriPrefix.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public bool Contains(
	string uriPrefix
)
Public Function Contains ( _
	uriPrefix As String _
) As Boolean
public:
bool^ Contains(
	String^ uriPrefix
)

Parameters

uriPrefix
Type: String
A String that represents the URI prefix to test.

Return Value

true if the collection contains uriPrefix; otherwise, false.

Exceptions


ExceptionCondition
ArgumentNullExceptionuriPrefix is nullNothingnullptra null reference (Nothing in Visual Basic).
ObjectDisposedException The HttpListener associated with this collection is closed.