Click or drag to resize
MimeKit

HtmlAttributeCollectionContains(String) Method

Check if an attribute exists.

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

Parameters

name  String
The name of the attribute.

Return Value

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