log4net SDK Reference |

# XmlLayoutBase.ContentType Property

Gets the content type output by this layout.

[Visual Basic]
Overrides Public ReadOnly Property ContentType As String _
Implements ILayout.ContentType
[C#]
public override string ContentType {get;}

#### Property Value

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

XmlLayoutBase Class | log4net.Layout Namespace