SolFSStorage.DeleteFileTagByName method


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

SolFSStorage     See also    


Deletes file tag by its name.


    procedure DeleteFileTagByName( const FileName : TSolFSString; const TagName : TSolFSString );
    type TSolFSString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[Plain C]
    long _stdcall StorageDeleteFileTagByName( Handle Storage, PWideChar FileName, PWideChar TagName );

[C++ (DLL/Lib)]
    void DeleteFileTagByName( const PWideChar FileName, const PWideChar TagName );

[C++ (VCL)]
    void __fastcall DeleteFileTagByName( const TSolFSString FileName, const TSolFSString TagName );

[C++ (.NET)]
    void DeleteFileTagByName( String *fileName, String *tagName );

    void DeleteFileTagByName( string fileName, string tagName );

    Sub DeleteFileTagByName( ByVal fileName As String, ByVal tagName As String )

    void deleteFileTagByName(String fileName, String tagName);


  • [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 to be removed.

Return value

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


Use this method to remove certain tag from the file.

See also