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.10.0
Syntax
C#
public int IndexOf(
	string name
)

Parameters

name  String
The name of the attribute.

Return Value

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