| HtmlAttributeCollectionTryGetValue(String, HtmlAttribute) Method |
Get an attribute from the collection if it exists.
Namespace: MimeKit.TextAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public bool TryGetValue(
string name,
out HtmlAttribute attribute
)
Parameters
- name String
- The name of the attribute.
- attribute HtmlAttribute
- The attribute if found; otherwise, null.
Return Value
Booleantrue if the desired attribute is found; otherwise,
false.
Exceptions Remarks
Gets an attribute from the collection if it exists.
See Also