TnefAttachmentHasContent Property

Get whether the attachment has any content.

Definition

Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool HasContent { get; }

Property Value

Boolean
if the attachment has content; otherwise, .

Remarks

Gets whether the attachment has any content.

An attachment has no content if the TNEF stream did not contain any, or if its content was skipped because it was larger than MaxPropertyValueLength or the remaining MaxTotalDataBytes allowed.

See Also