IMimePartContentDuration Property

Get or set the duration of the content if available.

Definition

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

Property Value

NullableInt32
The duration of the content.

Remarks

The Content-Duration header specifies duration of timed media, such as audio or video, in seconds.

Exceptions

ArgumentOutOfRangeException value is negative.
ObjectDisposedException The IMimePart has been disposed.

See Also