Click or drag to resize
MimeKit

MimePartContentDuration Property

Get or set the duration of the content if available.

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

Property Value

NullableInt32
The duration of the content.

Implements

IMimePartContentDuration
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is negative.
ObjectDisposedException The MimePart has been disposed.
Remarks

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

See Also