StreamExtensionsMatch Method Document Toolkit Help
Raises an exception if the stream data doesn't match specified data.

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

public static void Match(
	this Stream stream,
	params int[] data
)

Parameters

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

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

Reference