Click or drag to resize
MimeKit

MimeEntityContentLocation Property

Get or set the content location.

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

Property Value

Uri
The content location or null.
Exceptions
ExceptionCondition
ObjectDisposedException The MimeEntity 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