HtmlAttributeCollectionIndexOf(HtmlAttributeId) Method

Get the index of a desired attribute.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int IndexOf(
	HtmlAttributeId id
)

Parameters

id  HtmlAttributeId
The attribute.

Return Value

Int32
if the attribute exists within the collection; otherwise, .

Remarks

Gets the index of a desired attribute.

See Also