log4net SDK Reference |

# XmlLayout Methods

The methods of the XmlLayout class are listed below. For a complete list of XmlLayout class members, see the XmlLayout Members topic.

#### Public Instance Methods

ActivateOptions | Initialize layout options
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
Format (inherited from XmlLayoutBase) | Produces a formatted string.
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) | Gets the Type of the current instance.
ToString (inherited from Object) | Returns a String that represents the current Object.

#### Protected Instance Methods

Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FormatXml | Does the actual writing of the XML.
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object.

#### See Also

XmlLayout Class | log4net.Layout Namespace