Discuss this help topic in SecureBlackbox Forum

TElCalDAVOptions.OnCheckIfCalendar

TElCalDAVOptions     See also     


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


This event is fired when the component needs to check whether the specified collection is calendar.

Declaration

[C#]
    event TSBWebDAVCheckIfCalendarEvent OnCheckIfCalendar;
    delegate void TSBWebDAVCheckIfCalendarEvent(Object Sender, string URL, ref bool Success);

[VB.NET]
    Event OnCheckIfCalendar As TSBWebDAVCheckIfCalendarEvent
    Delegate Sub TSBWebDAVCheckIfCalendarEvent(ByVal Sender As Object, ByVal URL As String, ByRef Success As Boolean)

[Pascal]
    property OnCheckIfCalendar : TSBWebDAVCheckIfCalendarEvent;
    TSBWebDAVCheckIfCalendarEvent = procedure(Sender : TObject; const URL : string; var Success : boolean) of object;

[C++]
    void get_OnCheckIfCalendar(TSBWebDAVCheckIfCalendarEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCheckIfCalendar(TSBWebDAVCheckIfCalendarEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWebDAVCheckIfCalendarEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcURL, int32_t szURL, int8_t &Success);

[PHP]
    TSBWebDAVCheckIfCalendarEvent|callable|NULL get_OnCheckIfCalendar()
    void set_OnCheckIfCalendar(TSBWebDAVCheckIfCalendarEvent|callable|NULL $Value)
    callable TSBWebDAVCheckIfCalendarEvent(TObject $Sender, string $URL, bool &$Success)

[Java]
    TSBWebDAVCheckIfCalendarEvent getOnCheckIfCalendar();
    void setOnCheckIfCalendar(TSBWebDAVCheckIfCalendarEvent Value);
    TSBWebDAVCheckIfCalendarEvent.Callback OnCheckIfCalendar = new TSBWebDAVCheckIfCalendarEvent.Callback() {
        public void TSBWebDAVCheckIfCalendarEventCallback(TObject Sender, String URL, TSBBoolean Success) {
            //...
        }
    }

Parameters

  • Success - the handler should set this parameter to true if the collecion is a calendar, and to false otherwise.
  • URL - the URL of the collection under question.
  • pcURL - the URL of the collection under question.
  • szURL - the length of pcURL in bytes.

Description

    The handler should set the corresponsding parameter to true if the collection is a calendar, and to false otherwise.

See also:     OnSetCalendar    

Discuss this help topic in SecureBlackbox Forum