HeaderListContains(String) Method

Check if the HeaderList contains a header with the specified field name.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool Contains(
	string field
)

Parameters

field  String
The name of the header field.

Return Value

Boolean
if the requested header exists; otherwise, .

Remarks

Determines whether the header list contains the specified header.

Exceptions

See Also