Click or drag to resize
MimeKit

MimeEntityContentBase Property

Get or set the base content URI.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public Uri ContentBase { get; set; }

Property Value

Uri
The base content URI or null.

Implements

IMimeEntityContentBase
Exceptions
ExceptionCondition
ArgumentExceptionvalue is not an absolute URI.
ObjectDisposedException The MimeEntity has been disposed.
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.

See Also