Header ListContains(Header) Method
Check if the HeaderList contains the specified header.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the specified header is contained; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool Contains(
Header header
)Parameters
- header Header
- The header.
Return Value
Booleanif the specified header is contained; otherwise, .
Implements
ICollectionTContains(T)Remarks
Determines whether the header list contains the specified header.
Exceptions
| ArgumentNullException | header is . |