Click or drag to resize

HtmlAttributeCollection Class

Represents a combined list and collection of HTML nodes.
Inheritance Hierarchy
SystemObject
  WorkflowGen.My.HtmlAgilityPackHtmlAttributeCollection

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.1.3.0 (8.1.3.20220620)
Syntax
public class HtmlAttributeCollection : IList<HtmlAttribute>, 
	ICollection<HtmlAttribute>, IEnumerable<HtmlAttribute>, IEnumerable

The HtmlAttributeCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements actually contained in the list.
Public propertyIsReadOnly
Gets readonly status of colelction
Public propertyItemInt32
Gets the attribute at the specified index.
Public propertyItemString
Gets a given attribute from the list using its name.
Top
Methods
  NameDescription
Public methodAdd(HtmlAttribute)
Adds supplied item to collection
Public methodAdd(String, String)
Adds a new attribute to the collection with the given values
Public methodAppend(String)
Creates and inserts a new attribute as the last attribute in the collection.
Public methodAppend(HtmlAttribute)
Inserts the specified attribute as the last attribute in the collection.
Public methodAppend(String, String)
Creates and inserts a new attribute as the last attribute in the collection.
Public methodAttributesWithName
Returns all attributes with specified name. Handles case insentivity
Public methodContains(String)
Checks for existance of attribute with given name
Public methodContains(HtmlAttribute)
Retreives existence of supplied item
Public methodCopyTo
Copies collection to array
Public methodIndexOf
Retrieves the index for the supplied item, -1 if not found
Public methodInsert
Inserts given item into collection at supplied index
Public methodPrepend
Inserts the specified attribute as the first node in the collection.
Public methodRemove
Removes all attributes from the collection
Public methodRemove(String)
Removes an attribute from the list, using its name. If there are more than one attributes with this name, they will all be removed.
Public methodRemove(HtmlAttribute)
Removes a given attribute from the list.
Public methodRemoveAll
Remove all attributes in the list.
Public methodRemoveAt
Removes the attribute at the specified index.
Top
See Also