Click or drag to resize
MimeKit

HtmlAttributeCollectionIndexOf(String) Method

Get the index of a desired attribute.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public int IndexOf(
	string name
)

Parameters

name  String
The name of the attribute.

Return Value

Int32
true if the attribute exists within the collection; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
Remarks
Gets the index of a desired attribute.
See Also