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: 15.0.35.1026
Syntax public bool TryGetHeader(
string name,
out Header value
)
Public Function TryGetHeader (
name As String,
<OutAttribute> ByRef value As Header
) As Boolean
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:
BooleanTrue if this
HeaderCollection contains the specified
Header; otherwise,
false.
Exceptions See Also