Discuss this help topic in SecureBlackbox Forum

TElWebDAVLock.ToXML

TElWebDAVLock     See also     


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


Exports the lock in the XML form.

Declaration

[C#/Java]
    string ToXML(bool WithToken /* = false */, string NS /* = "" */, bool EncodeURL /* = false */);

[VB.NET]
    Function ToXML(ByVal WithToken As Boolean = False, ByVal NS As String = "", ByVal EncodeURL As Boolean = False) As String

[Pascal]
    function ToXML(const WithToken : boolean = false; const NS : string = ""; const EncodeURL : boolean = false) : string;

[C++]
    void ToXML(bool WithToken, const std::string &NS, bool EncodeURL, std::string &OutResult);

[PHP]
    string ToXML(bool $WithToken, string $NS, bool $EncodeURL)

Parameters

  • WithToken - specifies whether to include the lock token to the XML element.
  • NS - the namespace for the XML element.
  • EncodeURL - specifies whether to encode the lock URL.

Return value

    Returns a string which contains the XML representation of the lock object.

Description

    Use this method to get the XML representation of the lock.

See also:     SaveToXML     ToIfHeader     ToString     Token     URL    

Discuss this help topic in SecureBlackbox Forum