Solid File System

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

SolFSStorage.GetFileTagAsNumber method

Filter:

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

SolFSStorage     See also    

Overview

Returns value of the numerical tag.

Declaration

[Pascal]
    function GetFileTagAsNumber( const FileName : TSolFSString; const TagName : TSolFSString; TagID : Word ): Int64;

[Plain C]
    long _stdcall StorageGetFileTagAsNumber( Handle Storage, PWideChar FileName, PWideChar TagName, Word TagID, LongLongInt *Value );

[C++ (DLL/Lib)]
    LongLongWord GetFileTagAsNumber( const PWideChar FileName, const PWideChar TagName, unsigned short TagID );

[C++ (VCL)]
    __int64 __fastcall GetFileTagAsNumber( const TSolFSString FileName, const TSolFSString TagName, Word TagID );

[C++ (.NET)]
    __int64 *GetFileTagAsNumber( String *fileName, String *tagName, int tagID );

[C#]
    long GetFileTagAsNumber( string fileName, string tagName, int tagID );

[VB.NET]
    Function GetFileTagAsNumber( ByVal fileName As String, ByVal tagName As String, ByVal tagID As Integer ) As Long

[Java]
    long getFileTagAsNumber( String fileName, String tagName, int tagID)

Parameters

  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • FileName - the full file name in the SolFSStorage.
  • TagName - name of the tag or empty value, if TagID is to be used.
  • TagID - tag unique ID, must be in range of [0x8000..0xCFFF] or 0 if TagName is to be used.

Return value

    Tag value.

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

Description

Use this method to get values of numerical tag. You need to specify either TagName (in this case TagID parameter is ignored) or TagID (in this case TagName parameter is ignored).

See also

SetFileTagAsNumber    

Back to top