Samraksh eMote .NOW
Read(UInt32,Byte[],UInt32,UInt32,Byte) Method



Address to read from
Byte array to be filled up with data from DataStore
Offset from start of DataStore allocationto read.
Number of bytes to be read
Data type of the data to be read
Read data array from DataStore starting from specified address.
Syntax
'Declaration
 
<ObsoleteAttribute("Deprecated. Use ReadRaw instead.")>
Public Overloads Function Read( _
   ByVal address As UInteger, _
   ByVal data() As Byte, _
   ByVal offset As UInteger, _
   ByVal numBytes As UInteger, _
   ByVal dataType As Byte _
) As Integer
'Usage
 
Dim instance As DataStore
Dim address As UInteger
Dim data() As Byte
Dim offset As UInteger
Dim numBytes As UInteger
Dim dataType As Byte
Dim value As Integer
 
value = instance.Read(address, data, offset, numBytes, dataType)
[Obsolete("Deprecated. Use ReadRaw instead.")]
public int Read( 
   uint address,
   byte[] data,
   uint offset,
   uint numBytes,
   byte dataType
)
[Obsolete("Deprecated. Use ReadRaw instead.")]
public:
int Read( 
   uint address,
   array<byte>^ data,
   uint offset,
   uint numBytes,
   byte dataType
) 

Parameters

address
Address to read from
data
Byte array to be filled up with data from DataStore
offset
Offset from start of DataStore allocationto read.
numBytes
Number of bytes to be read
dataType
Data type of the data to be read

Return Value

True if success
Requirements

Target Platforms: eMote .NOW

See Also

Reference

DataStore Class
DataStore Members
Overload List

Send Feedback