See Also

EnhancedStream Class  | EnhancedStream Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

offset
The new position within the stream
origin
A value of type SeekOrigin, which acts as the seek reference point.
See Also Languages PowerTCP SSL Sockets for .NET

Seek Method

Dart.PowerTCP.SslSockets Namespace > EnhancedStream Class : Seek Method (EnhancedStream)

Sets the position within the current Stream to the specified value. Always throws a NotSupportedException.

[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
The new position within the stream
origin
A value of type SeekOrigin, which acts as the seek reference point.

Exceptions

ExceptionDescription
NotSupportedExceptionAlways thrown by this method.

Remarks

This method is not supported, and always throws a NotSupportedException.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

EnhancedStream Class  | EnhancedStream Members


Send comments on this topic.

Documentation version 1.1.2.0.

© 2008 Dart Communications.  All rights reserved.