Html Attribute CollectionContains(String) Method
Check if an attribute exists.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the attribute exists within the collection; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool Contains(
string name
)Parameters
- name String
- The name of the attribute.
Return Value
Booleanif the attribute exists within the collection; otherwise, .
Remarks
Checks if an attribute exists.
Exceptions
| ArgumentNullException | name is . |