Discuss this help topic in SecureBlackbox Forum

TElWebDAVProperty.OnWriteValue

TElWebDAVProperty     See also     


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


This event is fired when the property value is changed.

Declaration

[C#]
    event TSBWebDAVPropertyWriteValueEvent OnWriteValue;
    delegate void TSBWebDAVPropertyWriteValueEvent(Object Sender, string URL, string NS, string Name, string Value, ref bool Success);

[VB.NET]
    Event OnWriteValue As TSBWebDAVPropertyWriteValueEvent
    Delegate Sub TSBWebDAVPropertyWriteValueEvent(ByVal Sender As Object, ByVal URL As String, ByVal NS As String, ByVal Name As String, ByVal Value As String, ByRef Success As Boolean)

[Pascal]
    property OnWriteValue : TSBWebDAVPropertyWriteValueEvent;
    TSBWebDAVPropertyWriteValueEvent = procedure(Sender : TObject; const URL : string; const NS : string; const Name : string; const Value : string; var Success : boolean) of object;

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

[PHP]
    TSBWebDAVPropertyWriteValueEvent|callable|NULL get_OnWriteValue()
    void set_OnWriteValue(TSBWebDAVPropertyWriteValueEvent|callable|NULL $Value)
    callable TSBWebDAVPropertyWriteValueEvent(TObject $Sender, string $URL, string $NS, string $Name, string $Value, bool &$Success)

[Java]
    TSBWebDAVPropertyWriteValueEvent getOnWriteValue();
    void setOnWriteValue(TSBWebDAVPropertyWriteValueEvent Value);
    TSBWebDAVPropertyWriteValueEvent.Callback OnWriteValue = new TSBWebDAVPropertyWriteValueEvent.Callback() {
        public void TSBWebDAVPropertyWriteValueEventCallback(TObject Sender, String URL, String NS, String Name, String Value, TSBBoolean Success) {
            //...
        }
    }

Parameters

  • URL - contains the URL of the request.
  • NS - specifies property namespace.
  • Name - specifies property name.
  • Value - specifies the new value of the property.
  • 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 - specifies the new value of the property.
  • szValue - the length of pcValue.

Description

    This event is fired when the new property value is about to be written. It allows to accept or decline the write request.

See also:     Write     OnBeforeWriteValue    

Discuss this help topic in SecureBlackbox Forum