PrintQueueStream.Seek(Int64, SeekOrigin) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the read/write position within the stream.
public:
override long Seek(long offset, System::IO::SeekOrigin origin);
[System.Security.SecurityCritical]
public override long Seek (long offset, System.IO.SeekOrigin origin);
public override long Seek (long offset, System.IO.SeekOrigin origin);
[<System.Security.SecurityCritical>]
override this.Seek : int64 * System.IO.SeekOrigin -> int64
override this.Seek : int64 * System.IO.SeekOrigin -> int64
Public Overrides Function Seek (offset As Long, origin As SeekOrigin) As Long
Parameters
- offset
- Int64
A byte offset that is relative to the origin parameter.
- origin
- SeekOrigin
A value of type SeekOrigin that indicates the reference point that is used to obtain the new position.
Returns
An Int64 that represents the new read/write position.
- Attributes
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.