Samraksh eMote .NOW
Instance 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 : Instance Method

Multiton pattern. This allows DataStore to be initialized with different block storage devices such as NOR, NAND etc. http://en.wikipedia.org/wiki/Multiton_pattern
Syntax

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

    'Declaration

    Public Shared Function Instance( _
       ByVal storageTypeKey As StorageType, _
       Optional ByVal eraseDataStore As Boolean _
    ) As DataStore

    'Usage

    Dim storageTypeKey As StorageType
    Dim eraseDataStore As Boolean
    Dim value As DataStore

    value = DataStore.Instance(storageTypeKey, eraseDataStore)

    public static DataStore Instance(
       StorageType storageTypeKey,
       bool eraseDataStore
    )

    public:
    static DataStore^ Instance(
       StorageType storageTypeKey,
       bool eraseDataStore
    )

#### Parameters

storageTypeKey
eraseDataStore

Requirements

Target Platforms: eMote .NOW

See Also

#### Reference

DataStore Class
DataStore Members

Send Feedback