PrintQueueStream.Seek Method (Int64, SeekOrigin)

 

Sets the read/write position within the stream.

Namespace:   System.Printing
Assembly:  System.Printing (in System.Printing.dll)

[SecurityCriticalAttribute]
public override long Seek(
	long offset,
	SeekOrigin origin
)

Parameters

offset
Type: System.Int64

A byte offset that is relative to the origin parameter.

origin
Type: System.IO.SeekOrigin

A value of type SeekOrigin that indicates the reference point that is used to obtain the new position.

Return Value

Type: System.Int64

An Int64 that represents the new read/write position.

.NET Framework
Available since 3.0
Return to top
Show: