Discuss this help topic in SecureBlackbox Forum

TElWebDAVProperty.OnBeforeWriteValue

TElWebDAVProperty     See also     


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


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

Declaration

[C#/Java]
    event TSBWebDAVPropertyBeforeWriteValueEvent OnBeforeWriteValue;
    delegate void TSBWebDAVPropertyBeforeWriteValueEvent(Object Sender, string URL, string NS, string Name, ref string Value, ref bool Success);

[VB.NET]
    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)

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

[C++]
    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);

[PHP]
    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)

Parameters

  • 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.

Description

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

See also:     OnWriteValue     Live    

Discuss this help topic in SecureBlackbox Forum