ImageMan.Net Version 3 Summer 2012 Release
Seek Method
See Also  Send Feedback
DTI.ImageMan Namespace > VirtualStream Class : Seek Method





offset
origin

Glossary Item Box

Stream.Seek()

Syntax

Visual Basic (Declaration) 
Public Overrides NotOverridable Function Seek( _
   ByVal offset As System.Long, _
   ByVal origin As System.IO.SeekOrigin _
) As System.Long
Visual Basic (Usage)Copy Code
Dim instance As VirtualStream
Dim offset As System.Long
Dim origin As System.IO.SeekOrigin
Dim value As System.Long
 
value = instance.Seek(offset, origin)
C# 
public override System.long Seek( 
   System.long offset,
   System.IO.SeekOrigin origin
)
JScript 
public override function Seek( 
   offset : System.long,
   origin : System.IO.SeekOrigin
) : System.long;
Managed Extensions for C++ 
public: System.long Seek( 
   System.long offset,
   System.IO.SeekOrigin origin
) override 
C++/CLI 
public:
System.int64 Seek( 
   System.int64 offset,
   System.IO.SeekOrigin origin
) override 

Parameters

offset
origin

Return Value

The current position

Remarks

May throw System.ObjectDisposedException. It will cache any new data into the persistence stream

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.