Html Attribute CollectionTry Get Value(Html Attribute Id, Html Attribute) Method
Get an attribute from the collection if it exists.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the desired attribute is found; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool TryGetValue(
HtmlAttributeId id,
out HtmlAttribute?? attribute
)Parameters
- id HtmlAttributeId
- The id of the attribute.
- attribute HtmlAttribute
- The attribute if found; otherwise, .
Return Value
Booleanif the desired attribute is found; otherwise, .
Remarks
Gets an attribute from the collection if it exists.