Discuss this help topic in SecureBlackbox Forum

TElWebDAVLock.ToXML

TElWebDAVLock     See also     


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


Exports the lock in the XML form.

Declaration

[C#]
    string ToXML(bool WithToken, string NS, bool EncodeURL);

[VB.NET]
    Function ToXML(ByVal WithToken As Boolean, ByVal NS As String, ByVal EncodeURL As Boolean) 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)

[Java]
    String toXML(boolean WithToken, String NS, boolean 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