HtmlAttributeCollectionIndexOf(String) 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(
	string name
)

Parameters

name  String
The name of the attribute.

Return Value

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

Remarks

Gets the index of a desired attribute.

Exceptions

See Also