CSharpTest.Net
Seek Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.IO Namespace > BaseStream Class : Seek Method

offset
origin

Glossary Item Box

When overridden in a derived class, sets the position within the current stream.

Syntax

Visual Basic (Declaration) 
Public Overrides Function Seek( _
   ByVal offset As Long, _
   ByVal origin As SeekOrigin _
) As Long
C# 
public override long Seek( 
   long offset,
   SeekOrigin origin
)

Parameters

offset
origin

Exceptions

ExceptionDescription
System.NotSupportedExceptionThe exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Reference

BaseStream Class
BaseStream Members
Base Implementation in Seek

Source Code

Library/IO/BaseStream.cs

Generated with Document! X 2011 by Innovasys