SolFSStorage.DeleteFileTag method


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

SolFSStorage     See also    


Deletes file/stream tag (custom metadata).


    procedure DeleteFileTag( const FileName: TSolFSString; TagID: word );
    type TSolFSString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[Plain C]
    long _stdcall StorageDeleteFileTag( unsigned long Storage, const wchar_t* FileName, unsigned short TagID );

[C++ (DLL/Lib)]
    void DeleteFileTag( unsigned short *fileName, unsigned short TagID );

[C++ (VCL)]
    void __fastcall DeleteFileTag( const TSolFSString FileName, unsigned short TagID );

[C++ (.NET)]
    void DeleteFileTag( String *fileName, int TagID );

    void DeleteFileTag( String fileName, int TagID );

    Sub DeleteFileTag(ByVal fileName As String, TagID As Integer )

    void deleteFileTag(String fileName, int tagID);


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

[Plain C]  Return Value

0 if the function succeeded or one of Error codes if the function failed.


Use DeleteFileTag to remove previously set file metadata (custom tag).

See also

GetFileTag SetFileTag