 | HtmlAttributeCollectionTryGetValue(HtmlAttributeId, HtmlAttribute) Method |
Get an attribute from the collection if it exists.
Namespace: MimeKit.TextAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxpublic bool TryGetValue(
HtmlAttributeId id,
out HtmlAttribute attribute
)
Parameters
- id HtmlAttributeId
- The id of the attribute.
- attribute HtmlAttribute
- The attribute if found; otherwise, .
Return Value
Boolean if the desired attribute is found; otherwise,
.
Remarks
Gets an attribute from the collection if it exists.
See Also