IMimeEntityContentBase Property

Get or set the base content URI.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
Uri? ContentBase { get; set; }

Property Value

Uri
The base content URI or .

Remarks

The Content-Base header specifies the base URI for the MimeEntity in cases where the ContentLocation is a relative URI.

The Content-Base URI must be an absolute URI.

For more information, see rfc2110.

Exceptions

ArgumentException value is not an absolute URI.
ObjectDisposedException The IMimeEntity has been disposed.

See Also