Discuss this help topic in SecureBlackbox Forum

TElDiskFileSystemAdapter.OnReadFileTag

TElDiskFileSystemAdapter     See also     


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


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

Declaration

[C#]
    event TElVFSReadFileTagEvent OnReadFileTag;
    delegate void TElVFSReadFileTagEvent(Object Sender, string Path, string TagName, ref string TagValue, ref int ResultCode);

[VB.NET]
    Event OnReadFileTag As TElVFSReadFileTagEvent
    Delegate Sub TElVFSReadFileTagEvent(ByVal Sender As Object, ByVal Path As String, ByVal TagName As String, ByRef TagValue As String, ByRef ResultCode As Integer)

[Pascal]
    property OnReadFileTag : TElVFSReadFileTagEvent;
    TElVFSReadFileTagEvent = procedure(Sender : TObject; const Path, TagName : string, var TagValue : string; var ResultCode : integer) of object;

[C++]
    void get_OnReadFileTag(TElVFSReadFileTagEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnReadFileTag(TElVFSReadFileTagEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TElVFSReadFileTagEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcPath, int32_t szPath, const char * pcTagName, int32_t szTagName, char * pcTagValue, int32_t &szTagValue, int32_t &ResultCode);

[PHP]
    TElVFSReadFileTagEvent|callable|NULL get_OnReadFileTag()
    void set_OnReadFileTag(TElVFSReadFileTagEvent|callable|NULL $Value)
    callable TElVFSReadFileTagEvent(TObject $Sender, string $Path, string $TagName, string &$TagValue, integer &$ResultCode)

[Java]
    TElVFSReadFileTagEvent getOnReadFileTag();
    void setOnReadFileTag(TElVFSReadFileTagEvent Value);
    TElVFSReadFileTagEvent.Callback OnReadFileTag = new TElVFSReadFileTagEvent.Callback() {
        public void TElVFSReadFileTagEventCallback(TObject Sender, String Path, String TagName, TSBString TagValue, TSBInteger ResultCode) {
            //...
        }
    }

Parameters

  • Path - path to the file which tag to read.
  • TagName - the name of the tag to read.
  • TagValue - the tag value is returned via this parameter.
  • ResultCode - the result code returned by the handler.
  • pcPath - path to the file which tag to read.
  • szPath - the length of pcPath.
  • pcTagName - the name of the tag to read.
  • szTagName - the length of pcTagName.
  • pcTagValue - the tag value is returned via this parameter.
  • szTagValue - the length of pcTagValue.

Description

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

See also:     OnDeleteFileTag     OnWriteFileTag     ReadFileTag    

Discuss this help topic in SecureBlackbox Forum