Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PrintQueueStream::Seek Method (Int64, SeekOrigin)

 

Sets the read/write position within the stream.

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

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

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:
© 2017 Microsoft