Samraksh eMote .NOW
DataReference Constructor(DataStore,Int32)
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 > DataReference Class > DataReference Constructor : DataReference Constructor(DataStore,Int32)

DataStore object
ID of data for which user wants a reference/handle
Returns a data object corresponding to the input parameter data ID. Possible to create max of 256 active data objects.
Syntax

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

    'Declaration

    Public Function New( _
       ByVal dStore As DataStore, _
       ByVal dataId As Integer _
    )

    'Usage

    Dim dStore As DataStore
    Dim dataId As Integer

    Dim instance As New DataReference(dStore, dataId)

    public DataReference(
       DataStore dStore,
       int dataId
    )

    public:
    DataReference(
       DataStore^ dStore,
       int dataId
    )

#### Parameters

dStore
  DataStore object
dataId
  ID of data for which user wants a reference/handle

Exceptions

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

Requirements

Target Platforms: eMote .NOW

See Also

#### Reference

DataReference Class
DataReference Members
Overload List

Send Feedback