Solid File System

Virtual file system enigne that can be embedded into your software.

SolFSStorage.GetTagName method

Filter:

Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

SolFSStorage     See also    

Overview

Returns name of the global tag.

Declaration

[Pascal]
    procedure GetTagName( Index : integer; var TagID : Word; var TagValueType : Word; var TagName : TSolFSString );

[Plain C]
    long _stdcall StorageGetTagName( Handle Storage, LongWord Index, Word *TagID, Word *TagValueType, PWideChar TagNameBuffer, LongWord *TagNameBufferSize );

[C++ (DLL/Lib)]
    void StorageGetTagName( int Index, unsigned short &TagID, SolFSTagValueType &TagValueType, PWideChar &TagName );

[C++ (VCL)]
    void __fastcall GetTagName( int Index, Word &TagID, Word &TagValueType, TSolFSString &TagName );

[C++ (.NET)]
    void StorageGetTagName( int Index, [Out] int *tagID, [Out] SolFSTagValueType *tagValueType, String *tagName );

[C#]
    void GetTagName( int Index, out int tagID, out SolFS.SolFSTagValueType tagValueType, string tagName );

[VB.NET]
    Sub GetTagName( ByVal Index As Integer, ByRef tagID As Integer, ByRef tagValueType As SolFS.SolFSTagValueType, ByVal tagName As String )

[Java]
    String getTagName(int index);

Parameters

  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • TagNameBuffer - buffer which will contain tag name
  • TagNameBufferSize - size of the tag name buffer
  • Index - index of the name
  • TagID - tag unique ID, must be in range of [0x8000..0xCFFF].
  • TagValueType - specifies data type of the tag value.
  • TagName - tag name.

Possible tag types:

Return value

     [Plain C]  0 if the function succeeded or one of Error codes if the function failed.

Description

Use this method to get information about global named tag. Use GetTagNamesCount function to obtain total number of named tags.

See also

AddTagName     DeleteTagName     GetTagNamesCount    

Back to top