Determines whether the stream matches specified data.

Namespace: FirstFloor.Documents.IO
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public static bool IsMatch(
	this Stream stream,
	params int[] data
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsMatch ( _
	stream As Stream, _
	ParamArray data As Integer() _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool IsMatch(
	Stream^ stream, 
	... array<int>^ data
)

Parameters

stream
Type: System.IO..::..Stream
The stream.
data
Type: array<System..::..Int32>[]()[][]
The data.

Return Value

true if the specified stream data is a match; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Stream. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also