Click or drag to resize
MimeKit

HtmlAttributeCollectionTryGetValue(HtmlAttributeId, HtmlAttribute) Method

Get an attribute from the collection if it exists.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public bool TryGetValue(
	HtmlAttributeId id,
	out HtmlAttribute attribute
)

Parameters

id  HtmlAttributeId
The id of the attribute.
attribute  HtmlAttribute
The attribute if found; otherwise, null.

Return Value

Boolean
true if the desired attribute is found; otherwise, false.
Remarks
Gets an attribute from the collection if it exists.
See Also