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: