LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

Seek Method (LeadBufferStream)






Specifies the beginning, the end, or the current position as a reference point for origin, using a value of type LeadSeekOrigin.
The point relative to origin from which to begin seeking.
Sets the current position of this LeadBufferStream object to the specified value. .NET support WinRT support
Syntax
public long Seek( 
   LeadSeekOrigin origin,
   long offset
)
'Declaration
 
Public Function Seek( _
   ByVal origin As LeadSeekOrigin, _
   ByVal offset As Long _
) As Long
'Usage
 
Dim instance As LeadBufferStream
Dim origin As LeadSeekOrigin
Dim offset As Long
Dim value As Long
 
value = instance.Seek(origin, offset)
public long Seek( 
   LeadSeekOrigin origin,
   long offset
)
 function Leadtools.LeadBufferStream.Seek( 
   origin ,
   offset 
)
public:
int64 Seek( 
   LeadSeekOrigin origin,
   int64 offset
) 

Parameters

origin
Specifies the beginning, the end, or the current position as a reference point for origin, using a value of type LeadSeekOrigin.
offset
The point relative to origin from which to begin seeking.

Return Value

The new position in the stream
Remarks

Use the CanSeek property to determine whether the current instance supports reading.

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

Reference

LeadBufferStream Class
LeadBufferStream Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.