NetworkStream.Seek Method (Int64, SeekOrigin)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets the current position of the stream to the given value. This method is not currently supported and always throws a NotSupportedException.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

Public Overrides Function Seek (
	offset As Long,
	origin As SeekOrigin
) As Long

Parameters

offset
Type: System.Int64

This parameter is not used.

origin
Type: System.IO.SeekOrigin

This parameter is not used.

Return Value

Type: System.Int64

The position in the stream.

Exception Condition
NotSupportedException

Any use of this property.

.NET Framework
Available since 1.1
Return to top
Show: