Annotation Entry(Body Part, String, Annotation Scope) Constructor
Initializes a new instance of the AnnotationEntry struct.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
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.
Remarks
Creates a new AnnotationEntry for an individual body part of a message.
Exceptions
| ArgumentNullException |
part is . -or- path is . |
| ArgumentException | path is invalid. |