Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

GZipStream.Seek Method

This property is not supported and always throws a NotSupportedException.

Namespace:  System.IO.Compression
Assembly:  System (in System.dll)

public override long Seek(
	long offset,
	SeekOrigin origin
)

Parameters

offset
Type: System.Int64

The location in the stream.

origin
Type: System.IO.SeekOrigin

One of the SeekOrigin values.

Return Value

Type: System.Int64
A long value.

ExceptionCondition
NotSupportedException

This property is not supported on this stream.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1
Show:
© 2015 Microsoft