HeaderCollectionTryGetHeader Method (HeaderId, Header) |
Tries the get a
Header with the specified identifier.
Namespace:
GemBox.Email.Mime
Assembly:
GemBox.Email (in GemBox.Email.dll) Version: 15.0.35.1026
Syntax public bool TryGetHeader(
HeaderId id,
out Header value
)
Public Function TryGetHeader (
id As HeaderId,
<OutAttribute> ByRef value As Header
) As Boolean
Parameters
- id
- Type: GemBox.Email.MimeHeaderId
The identifier. - value
- Type: GemBox.Email.MimeHeader
When this method returns, contains the Header with the specified name, if found; otherwise, null.
Return Value
Type:
BooleanTrue if this
HeaderCollection contains the specified
Header; otherwise,
false.
See Also