CSharpTest.Net
Seek Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.IO Namespace > ClampedStream 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.ArgumentOutOfRangeExceptionThe exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.

Requirements

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

See Also

Reference

ClampedStream Class
ClampedStream Members
Base Implementation in Seek

Source Code

Library/IO/ClampedStream.cs

Generated with Document! X 2011 by Innovasys