Discuss this help topic in SecureBlackbox Forum

TElWebDAVProperty.OnReadValue

TElWebDAVProperty     See also     


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


This event is fired before the property value is sent to the client.

Declaration

[C#]
    event TSBWebDAVPropertyReadValueEvent OnReadValue;
    delegate void TSBWebDAVPropertyReadValueEvent(Object Sender, string URL, string NS, string Name, ref string Value, TElXMLDOMElement Element, ref bool Success);

[VB.NET]
    Event OnReadValue As TSBWebDAVPropertyReadValueEvent
    Delegate Sub TSBWebDAVPropertyReadValueEvent(ByVal Sender As Object, ByVal URL As String, ByVal NS As String, ByVal Name As String, ByRef Value As String, ByVal Element As TElXMLDOMElement, ByRef Success As Boolean)

[Pascal]
    property OnReadValue : TSBWebDAVPropertyReadValueEvent;
    TSBWebDAVPropertyReadValueEvent = procedure(Sender : TObject; const URL : string; const NS : string; const Name : string; var Value : string; Element : TElXMLDOMElement; var Success : boolean) of object;

[C++]
    void get_OnReadValue(TSBWebDAVPropertyReadValueEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnReadValue(TSBWebDAVPropertyReadValueEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWebDAVPropertyReadValueEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcURL, int32_t szURL, const char * pcNS, int32_t szNS, const char * pcName, int32_t szName, char * pcValue, int32_t &szValue, TElXMLDOMElementHandle Element, int8_t &Success);

[PHP]
    TSBWebDAVPropertyReadValueEvent|callable|NULL get_OnReadValue()
    void set_OnReadValue(TSBWebDAVPropertyReadValueEvent|callable|NULL $Value)
    callable TSBWebDAVPropertyReadValueEvent(TObject $Sender, string $URL, string $NS, string $Name, string &$Value, TElXMLDOMElement $Element, bool &$Success)

[Java]
    TSBWebDAVPropertyReadValueEvent getOnReadValue();
    void setOnReadValue(TSBWebDAVPropertyReadValueEvent Value);
    TSBWebDAVPropertyReadValueEvent.Callback OnReadValue = new TSBWebDAVPropertyReadValueEvent.Callback() {
        public void TSBWebDAVPropertyReadValueEventCallback(TObject Sender, String URL, String NS, String Name, TSBString Value, TElXMLDOMElement Element, TSBBoolean Success) {
            //...
        }
    }

Parameters

  • URL - contains the URL of the request.
  • NS - specifies property namespace.
  • Name - specifies property name.
  • Value - the value to be sent to the client.
  • Success - use this parameter to specify whether to accept or decline the request.
  • pcURL - contains the URL of the request.
  • szURL - the length of pcURL.
  • pcNS - specifies property namespace.
  • szNS - the length of pcNS.
  • pcName - specifies property name.
  • szName - the length of pcName.
  • pcValue - the value to be sent to the client.
  • szValue - the length of pcValue.
  • Element -

Description

    This event is fired before the property value is sent to the client. It allows to modify the value that is actually sent to the client.

See also:     Read     OnAfterReadValue    

Discuss this help topic in SecureBlackbox Forum