Share via


Query.Xml Method

Definition

Overloads

Xml()

Returns an XML string that represents the current object.

Xml(Int32)

Xml()

Returns an XML string that represents the current object.

public:
 override System::String ^ Xml();
public override string Xml ();
override this.Xml : unit -> string
Public Overrides Function Xml () As String

Returns

An XML string that represents the current object.

Remarks

This method can be overridden to return values that are meaningful for that type.

Applies to

Xml(Int32)

public:
 override System::String ^ Xml(int _indent);
public override string Xml (int _indent);
override this.Xml : int -> string
Public Overrides Function Xml (_indent As Integer) As String

Parameters

_indent
Int32

The amount of indentation for the returned XML string; optional.

Returns

Applies to