Discuss this help topic in SecureBlackbox Forum


TElWebDAVProperty     See also     

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

This event is fired before the new value is assigned to a live property.


    event TSBWebDAVPropertyBeforeWriteValueEvent OnBeforeWriteValue;
    delegate void TSBWebDAVPropertyBeforeWriteValueEvent(Object Sender, string URL, string NS, string Name, ref string Value, ref bool Success);

    Event OnBeforeWriteValue As TSBWebDAVPropertyBeforeWriteValueEvent
    Delegate Sub TSBWebDAVPropertyBeforeWriteValueEvent(ByVal Sender As Object, ByVal URL As String, ByVal NS As String, ByVal Name As String, ByRef Value As String, ByRef Success As Boolean)

    property OnBeforeWriteValue : TSBWebDAVPropertyBeforeWriteValueEvent;
    TSBWebDAVPropertyBeforeWriteValueEvent = procedure(Sender : TObject; const URL : string; const NS : string; const Name : string; var Value : string; var Success : boolean) of object;

    void get_OnBeforeWriteValue(TSBWebDAVPropertyBeforeWriteValueEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBeforeWriteValue(TSBWebDAVPropertyBeforeWriteValueEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWebDAVPropertyBeforeWriteValueEvent)(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, int8_t &Success);

    TSBWebDAVPropertyBeforeWriteValueEvent|callable|NULL get_OnBeforeWriteValue()
    void set_OnBeforeWriteValue(TSBWebDAVPropertyBeforeWriteValueEvent|callable|NULL $Value)
    callable TSBWebDAVPropertyBeforeWriteValueEvent(TObject $Sender, string $URL, string $NS, string $Name, string &$Value, bool &$Success)

    TSBWebDAVPropertyBeforeWriteValueEvent getOnBeforeWriteValue();
    void setOnBeforeWriteValue(TSBWebDAVPropertyBeforeWriteValueEvent Value);
    TSBWebDAVPropertyBeforeWriteValueEvent.Callback OnBeforeWriteValue = new TSBWebDAVPropertyBeforeWriteValueEvent.Callback() {
        public void TSBWebDAVPropertyBeforeWriteValueEventCallback(TObject Sender, String URL, String NS, String Name, TSBString Value, TSBBoolean Success) {


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


    This event is fired before writing the value of a live property.

See also:     OnWriteValue     Live    

Discuss this help topic in SecureBlackbox Forum