Discuss this help topic in SecureBlackbox Forum


TElDiskFileSystemAdapter     See also     

Filter: C#  VB.NET  Pascal  C++  PHP  Java  

This event is fired when a file tag value has to be written.


    event TElVFSWriteFileTagEvent OnWriteFileTag;
    delegate void TElVFSWriteFileTagEvent(Object Sender, string Path, string TagName, string TagValue, ref int ResultCode);

    Event OnWriteFileTag As TElVFSWriteFileTagEvent
    Delegate Sub TElVFSWriteFileTagEvent(ByVal Sender As Object, ByVal Path As String, ByVal TagName As String, ByVal TagValue As String, ByRef ResultCode As Integer)

    property OnWriteFileTag : TElVFSWriteFileTagEvent;
    TElVFSWriteFileTagEvent = procedure(Sender : TObject; const Path, TagName, TagValue : string; var ResultCode : integer) of object;

    void get_OnWriteFileTag(TElVFSWriteFileTagEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnWriteFileTag(TElVFSWriteFileTagEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TElVFSWriteFileTagEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcPath, int32_t szPath, const char * pcTagName, int32_t szTagName, const char * pcTagValue, int32_t szTagValue, int32_t &ResultCode);

    TElVFSWriteFileTagEvent|callable|NULL get_OnWriteFileTag()
    void set_OnWriteFileTag(TElVFSWriteFileTagEvent|callable|NULL $Value)
    callable TElVFSWriteFileTagEvent(TObject $Sender, string $Path, string $TagName, string $TagValue, integer &$ResultCode)

    TElVFSWriteFileTagEvent getOnWriteFileTag();
    void setOnWriteFileTag(TElVFSWriteFileTagEvent Value);
    TElVFSWriteFileTagEvent.Callback OnWriteFileTag = new TElVFSWriteFileTagEvent.Callback() {
        public void TElVFSWriteFileTagEventCallback(TObject Sender, String Path, String TagName, String TagValue, TSBInteger ResultCode) {


  • Path - path to the file which tag to write.
  • TagName - the name of the tag to modify.
  • TagValue - the new value of the tag.
  • ResultCode - the result code returned by the handler.
  • pcPath - path to the file which tag to write.
  • szPath - the length of pcPath.
  • pcTagName - the name of the tag to modify.
  • szTagName - the length of pcTagName.
  • pcTagValue - the new value of the tag.
  • szTagValue - the length of pcTagValue.


    This event is fired when user requests to write a file tag value. The application should perform the operation and return the result code.

See also:     OnDeleteFileTag     OnReadFileTag     WriteFileTag    

Discuss this help topic in SecureBlackbox Forum