Discuss this help topic in SecureBlackbox Forum

TElCardDAVOptions.OnCheckIfAddressBook

TElCardDAVOptions     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 an address book.

Declaration

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

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

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

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

[PHP]
    TSBWebDAVCheckIfAddressBookEvent|callable|NULL get_OnCheckIfAddressBook()
    void set_OnCheckIfAddressBook(TSBWebDAVCheckIfAddressBookEvent|callable|NULL $Value)
    callable TSBWebDAVCheckIfAddressBookEvent(TObject $Sender, string $URL, bool &$Success)

[Java]
    TSBWebDAVCheckIfAddressBookEvent getOnCheckIfAddressBook();
    void setOnCheckIfAddressBook(TSBWebDAVCheckIfAddressBookEvent Value);
    TSBWebDAVCheckIfAddressBookEvent.Callback OnCheckIfAddressBook = new TSBWebDAVCheckIfAddressBookEvent.Callback() {
        public void TSBWebDAVCheckIfAddressBookEventCallback(TObject Sender, String URL, TSBBoolean Success) {
            //...
        }
    }

Parameters

  • Success - the handler should set this parameter to true if the collecion is an address book, 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 an address book, and to false otherwise.

See also:     OnSetAddressBook    

Discuss this help topic in SecureBlackbox Forum