Annotation Entry(String, 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(
string partSpecifier,
string path,
AnnotationScope scope = AnnotationScope.Both
)Parameters
- partSpecifier String
- The part-specifier of 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 |
partSpecifier is . -or- path is . |
| ArgumentException |
partSpecifier is invalid. -or- path is invalid. |