Samraksh eMote .NOW
ReadAllDataReferences Method
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: Visual Basic (Declaration) Language Filter: Visual Basic (Usage) Language Filter: C# Language Filter: C++/CLI
Visual Basic (Declaration)
Visual Basic (Usage)
C#
C++/CLI

Samraksh.eMote.NonVolatileMemory Namespace > DataStore Class : ReadAllDataReferences Method

Data reference array
Offset from first data reference in DataStore
Fills an array with data references from specified offset.
Syntax

- Visual Basic
- C#
- C++/CLI

    'Declaration

    Public Function ReadAllDataReferences( _
       ByVal dataRefArray() As DataReference, _
       ByVal dataIdOffset As Integer _
    ) As DataStoreReturnStatus

    'Usage

    Dim instance As DataStore
    Dim dataRefArray() As DataReference
    Dim dataIdOffset As Integer
    Dim value As DataStoreReturnStatus

    value = instance.ReadAllDataReferences(dataRefArray, dataIdOffset)

    public DataStoreReturnStatus ReadAllDataReferences(
       DataReference[] dataRefArray,
       int dataIdOffset
    )

    public:
    DataStoreReturnStatus ReadAllDataReferences(
       array<DataReference^>^ dataRefArray,
       int dataIdOffset
    )

#### Parameters

dataRefArray
  Data reference array
dataIdOffset
  Offset from first data reference in DataStore

#### Return Value

Success / failure status
Exceptions

Exception | Description
--- | ---
DataStore Exception | Method invocation has an invalid argument

Remarks
Typically an offset variable. passed as the second argument, is initialized to zero and incremented by the size of the data reference array after each invocation of the method. This will iteratively return all data references. If, after invocation, the array is null then no more data references.
Requirements

Target Platforms: eMote .NOW

See Also

#### Reference

DataStore Class
DataStore Members

Send Feedback