StreamExtensionsIsMatch Method Document Toolkit Help
Determines whether the stream matches specified data.

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

public static bool IsMatch(
	this Stream stream,
	params int[] data


Type: System.IOStream
The stream.
Type: SystemInt32
The data.

Return Value

Type: Boolean
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 Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also