ESRI.ArcGIS.Mobile
Read(String,Int64,Int32) Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.DataProducts.RasterData Namespace > TilePackageBinaryReader Class > Read Method : Read(String,Int64,Int32) Method

filename
file within the zip file to open. It is case insensitive.
offset
posistion within the file to read
count
number of bytes to read, a -1 will read to the end of the file
Reads bytes from a file within the TilePackage at a specified offset within that file. This method is thread safe and can be called from different thread pool threads.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Read( _
   ByVal filename As String, _
   ByVal offset As Long, _
   ByVal count As Integer _
) As Byte()
C# 
public byte[] Read( 
   string filename,
   long offset,
   int count
)

Parameters

filename
file within the zip file to open. It is case insensitive.
offset
posistion within the file to read
count
number of bytes to read, a -1 will read to the end of the file

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.