Discuss this help topic in SecureBlackbox Forum

TElWebDAVClient.UploadVCard

TElWebDAVClient     See also     


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


Uploads a vCard to the server.

Declaration

[C#]
    void UploadVCard(string URL, System.IO.Stream Strm, ref string ETag, TElWebDAVErrorList Errors, TElWebDAVLockList Locks);
    void UploadVCard(string URL, TElVCard VCard, ref string ETag, TElWebDAVErrorList Errors, TElWebDAVLockList Locks);

[VB.NET]
    Sub UploadVCard(ByVal URL As String, ByVal Strm As System.IO.Stream, ByRef ETag As String, ByVal Errors As TElWebDAVErrorList, ByVal Locks As TElWebDAVLockList)
    Sub UploadVCard(ByVal URL As String, ByVal VCard As TElVCard, ByRef ETag As String, ByVal Errors As TElWebDAVErrorList, ByVal Locks As TElWebDAVLockList)

[Pascal]
    procedure UploadVCard(const URL : string; Strm : TElStream; var ETag : TSBString; Errors : TElWebDAVErrorList = nil; Locks : TElWebDAVLockList = nil);
    procedure UploadVCard(const URL : string; VCard : TElVCard; var ETag : TSBString; Errors : TElWebDAVErrorList = nil; Locks : TElWebDAVLockList = nil);

[C++]
    void UploadVCard(const std::string &URL, TStream &Strm, std::string &ETag, TElWebDAVErrorList &Errors, TElWebDAVLockList &Locks);
    void UploadVCard(const std::string &URL, TStream *Strm, std::string &ETag, TElWebDAVErrorList *Errors, TElWebDAVLockList *Locks);
    void UploadVCard(const std::string &URL, TElVCard &VCard, std::string &ETag, TElWebDAVErrorList &Errors, TElWebDAVLockList &Locks);
    void UploadVCard(const std::string &URL, TElVCard *VCard, std::string &ETag, TElWebDAVErrorList *Errors, TElWebDAVLockList *Locks);

[PHP]
    void UploadVCard(string $URL, TStream $Strm, string &$ETag, TElWebDAVErrorList $Errors, TElWebDAVLockList $Locks)
    void UploadVCard(string $URL, TElVCard $VCard, string &$ETag, TElWebDAVErrorList $Errors, TElWebDAVLockList $Locks)

[Java]
    not available

Parameters

  • URL - target address book URL.
  • Strm - the stream containing the vCard body.
  • ETag - the ETag returned by the server. This ETag could be used later for subsequent calls of this method.
  • Errors - the list of errors returned by the server.
  • Locks - the locks to be put on the new resourse.
  • VCard - the vCard object to be uploaded.

Description

    Use this method to upload vCards to the server. If the ETag parameter is left empty, the existing resource will not be overwritten on the server. If ETag is not empty, the resource with that ETag will be overwritten on the server.

See also:     DowmloadVCard    

Discuss this help topic in SecureBlackbox Forum