Click or drag to resize

HeaderCollectionTryGetHeader Method (String, Header)

Tries the get a Header with the specified name.

Namespace:  GemBox.Email.Mime
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1008
Syntax
public bool TryGetHeader(
	string name,
	out Header value
)

Parameters

name
Type: SystemString
The name.
value
Type: GemBox.Email.MimeHeader
When this method returns, contains the Header with the specified name, if found; otherwise, null.

Return Value

Type: Boolean
True if this HeaderCollection contains the specified Header; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullException Name is null or empty.
See Also