Checks if data is contained in this buffer.

Namespace: Jscape.Email
Assembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0

Syntax

C#
public bool Contains(
	byte[] data,
	bool matchAll
)
Visual Basic
Public Function Contains ( _
	data As Byte(), _
	matchAll As Boolean _
) As Boolean
Visual C++
public:
bool Contains(
	array<unsigned char>^ data, 
	bool matchAll
)

Parameters

data
Type: array<System..::..Byte>[]()[][]
The data to check for.
matchAll
Type: System..::..Boolean
If true then all data must be found in sequence, if false then only one byte of data must be found.

Return Value

True if data is found, false otherwise.

See Also