Click or drag to resize
MimeKit

AnnotationEntry(BodyPart, String, AnnotationScope) Constructor

Initializes a new instance of the AnnotationEntry struct.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public AnnotationEntry(
	BodyPart part,
	string path,
	AnnotationScope scope = AnnotationScope.Both
)

Parameters

part  BodyPart
The body part of the message.
path  String
The annotation entry path.
scope  AnnotationScope  (Optional)
The scope of the annotation.
Exceptions
ExceptionCondition
ArgumentNullException

part is null.

-or-

path is null.

ArgumentExceptionpath is invalid.
Remarks
Creates a new AnnotationEntry for an individual body part of a message.
See Also