XmlLayoutBaseContentType Property Apache log4net™ SDK Documentation
Gets the content type output by this layout.

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public override string ContentType { get; }

Property Value

Type: String
As this is the XML layout, the value is always "text/xml".

Implements

ILayoutContentType
Remarks

As this is the XML layout, the value is always "text/xml".

See Also

Reference