Click or drag to resize
MimeKit

HtmlAttributeCollection Class

A readonly collection of HTML attributes.
Inheritance Hierarchy
SystemObject
  MimeKit.TextHtmlAttributeCollection

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public class HtmlAttributeCollection : IEnumerable<HtmlAttribute>, 
	IEnumerable

The HtmlAttributeCollection type exposes the following members.

Constructors
 NameDescription
Public methodHtmlAttributeCollection Initialize a new instance of the HtmlAttributeCollection class.
Top
Properties
 NameDescription
Public propertyCount Get the number of attributes in the collection.
Public propertyItem Get the HtmlAttribute at the specified index.
Top
Methods
 NameDescription
Public methodContains(HtmlAttributeId) Check if an attribute exists.
Public methodContains(String) Check if an attribute exists.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetEnumerator Get an enumerator for the attribute collection.
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Public methodIndexOf(HtmlAttributeId) Get the index of a desired attribute.
Public methodIndexOf(String) Get the index of a desired attribute.
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString
(Inherited from Object)
Public methodTryGetValue(HtmlAttributeId, HtmlAttribute) Get an attribute from the collection if it exists.
Public methodTryGetValue(String, HtmlAttribute) Get an attribute from the collection if it exists.
Top
Fields
 NameDescription
Public fieldStatic memberEmpty An empty attribute collection.
Top
Remarks
A readonly collection of HTML attributes.
See Also