![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
A Sandcastle Documented Class Library |
HtmlAttribute..::..CompareTo Method |
HtmlAttribute Class See Also Send Feedback |
Compares the current instance with another attribute. Comparison is based on attributes' name.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public int CompareTo( Object obj ) |
Visual Basic |
---|
Public Function CompareTo ( _ obj As Object _ ) As Integer |
Visual C++ |
---|
public: virtual int CompareTo( Object^ obj ) sealed |
Parameters
- obj
- Type: System..::..Object
An attribute to compare with this instance.