Header SetContains(String) Method
Check if the set of headers contains the specified header.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
if the specified header exists; otherwise, .
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public bool Contains(
string header
)Parameters
- header String
- The name of the header.
Return Value
Booleanif the specified header exists; otherwise, .
Implements
ICollectionTContains(T)Remarks
Determines whether or not the set of headers contains the specified header.
Exceptions
| ArgumentNullException | header is . |