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



Address to write to
Data to be written to DataStore
Offset from start of DataStore allocationto write.
Count of bytes to be written
Data type to be written
Write data array to DataStore starting from specified address
Syntax
'Declaration
 
<ObsoleteAttribute("Deprecated. Use WriteRaw instead.")>
Public Overloads Function Write( _
   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.Write(address, data, offset, numBytes, dataType)
[Obsolete("Deprecated. Use WriteRaw instead.")]
public int Write( 
   uint address,
   byte[] data,
   uint offset,
   uint numBytes,
   byte dataType
)
[Obsolete("Deprecated. Use WriteRaw instead.")]
public:
int Write( 
   uint address,
   array<byte>^ data,
   uint offset,
   uint numBytes,
   byte dataType
) 

Parameters

address
Address to write to
data
Data to be written to DataStore
offset
Offset from start of DataStore allocationto write.
numBytes
Count of bytes to be written
dataType
Data type to be written

Return Value

True if success
Requirements

Target Platforms: eMote .NOW

See Also

Reference

DataStore Class
DataStore Members
Overload List

Send Feedback