dotnet-api-docs icon indicating copy to clipboard operation
dotnet-api-docs copied to clipboard

What does it mean for HtmlDocument instances to be equal?

Open jck1961 opened this issue 6 months ago • 0 comments

Type of issue

Typo

Description

I have two HtmlDocument instances containing the same web page obtained using different URLs. Are those equal or not? If not, how would I compare only the content and ignore the URLs? I could use a debugger and try to figure out how it currently works and hope it never changes, but I thought documentation was supposed to make it possible to use the code without completely analyzing its behavior in a debugger.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.htmldocument.equals?view=windowsdesktop-9.0#system-windows-forms-htmldocument-equals(system-object)

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Windows.Forms/HtmlDocument.xml

Document Version Independent Id

97d8e5d4-0aa4-10bf-f344-0b21a21b9982

Platform Id

eb0932e9-55a4-4bac-b0dd-97e94643d2d8

Article author

@dotnet-bot

jck1961 avatar Jun 20 '25 14:06 jck1961