Share via


Object.xml Method

Returns an XML string that represents the current object.

Syntax

public str xml([int indent=0])

Run On

Called

Parameters

  • indent
    Type: int
    The amount of indentation of the returned XML string; optional.

Return Value

Type: str
An XML string that represents the current object.

Remarks

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

See Also

Reference

Object Class