Click or drag to resize
MimeKit

HtmlAttributeCollectionContains(String) Method

Check if an attribute exists.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public bool Contains(
	string name
)

Parameters

name  String
The name of the attribute.

Return Value

Boolean
true if the attribute exists within the collection; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
Remarks
Checks if an attribute exists.
See Also