Html Attribute CollectionIndex Of(String) Method
Get the index of a desired attribute.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the attribute exists within the collection; otherwise, .
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
Int32if the attribute exists within the collection; otherwise, .
Remarks
Gets the index of a desired attribute.
Exceptions
| ArgumentNullException | name is . |