ILayout ContentType Property | Apache log4net™ SDK Documentation

The content type output by this layout.

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

C#
VB
C++
F#
Copy

    string ContentType { get; }

    ReadOnly Property ContentType As String
    	Get

    property String^ ContentType {
    	String^ get ();
    }

    abstract ContentType : string with get

#### Property Value

Type: String
The content type
Remarks

The content type output by this layout.

This is a MIME type e.g. "text/plain".

See Also

#### Reference

ILayout Interface
log4net.Layout Namespace