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.

SqlFileStream::Seek Method (Int64, SeekOrigin)

 

Sets the position within the current stream.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

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

Parameters

offset
Type: System::Int64

A byte offset relative to the origin parameter

origin
Type: System.IO::SeekOrigin

A value of type SeekOrigin indicating the reference point used to obtain the new position

Return Value

Type: System::Int64

The new position within the current stream.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft