Click or drag to resize
MimeKit

IMimeEntityContentLocation Property

Get or set the content location.

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

Property Value

Uri
The content location or null.
Exceptions
ExceptionCondition
ObjectDisposedException The IMimeEntity has been disposed.
Remarks

The Content-Location header specifies the URI for a MIME entity and can be either absolute or relative.

Setting a Content-Location URI allows other MimePart objects within the same multipart/related container to reference this part by URI. This can be useful, for example, when constructing an HTML message body that needs to reference image attachments.

For more information, see rfc2110.

See Also