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

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public override string ContentType { get; }

Property Value

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

Implements

ILayout ContentType
Remarks

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

See Also