C-DEngine 5.105

TheCommonUtils..::..cdeContainsCookie Method

Query a list of tokens for the presence of a specific token.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static bool cdeContainsCookie(
	List<string> pCookies,
	string pCook
)
Public Shared Function cdeContainsCookie ( _
	pCookies As List(Of String), _
	pCook As String _
) As Boolean
public:
static bool^ cdeContainsCookie(
	List<String^>^ pCookies, 
	String^ pCook
)

Parameters

pCookies
Type: List<(Of <(<'String>)>)>
pCook
Type: String

Return Value

True when the token is found, otherwise false.

Remarks


Each list item may contain subparts, with a semicolon used to separate the parts from each other. The key value, for the purposes of searching the list, is the substring before the first semicolon delimiter.