See Also

SegmentedStream Class  | SegmentedStream Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

offset
A byte offset relative to origin.
origin
A value of type SeekOrigin indicating the reference point used to obtain the new position.
See Also Languages PowerTCP Email Validation for .NET

Seek Method

Dart.PowerTCP.EmailValidation Namespace > SegmentedStream Class : Seek Method (SegmentedStream)

Seeks a specific position in the stream.

[Visual Basic]
Overrides Public Function Seek( _    ByVal offset As Long, _    ByVal origin As SeekOrigin _ ) As Long
[C#]
public override long Seek(    long offset,    SeekOrigin origin );
[C++]
public: long Seek(    long offset,    SeekOrigin origin ) override
[C++/CLI]
public: long long Seek(    long long offset,    SeekOrigin origin ) override

Parameters

offset
A byte offset relative to origin.
origin
A value of type SeekOrigin indicating the reference point used to obtain the new position.

Return Type

The number of bytes that were sought.

Remarks

Returns value of CoreStream.Seek. TcpStream.Seek throws a NotSupportedException.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

SegmentedStream Class  | SegmentedStream Members


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.