Click or drag to resize

MimeEntityContentLocation Property

Gets or sets the content location.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.2.0
public Uri ContentLocation { get; set; }

Property Value

Type: Uri
The content location or null.

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