OpenXmlAttribute.Equals Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Equals(OpenXmlAttribute) | Determines if this instance of an OpenXmlAttribute structure is equal to the specified instance of an OpenXmlAttribute structure. | 
| Equals(Object) | Determines whether the specified Object is a OpenXmlAttribute structure and if so, indicates whether it is equal to this instance of an OpenXmlAttribute structure. | 
Equals(OpenXmlAttribute)
Determines if this instance of an OpenXmlAttribute structure is equal to the specified instance of an OpenXmlAttribute structure.
public bool Equals(DocumentFormat.OpenXml.OpenXmlAttribute other);override this.Equals : DocumentFormat.OpenXml.OpenXmlAttribute -> boolPublic Function Equals (other As OpenXmlAttribute) As BooleanParameters
- other
- OpenXmlAttribute
An instance of an OpenXmlAttribute structure.
Returns
Returns true if instances are equal; otherwise, returns false.
Implements
Applies to
Equals(Object)
Determines whether the specified Object is a OpenXmlAttribute structure and if so, indicates whether it is equal to this instance of an OpenXmlAttribute structure.
public override bool Equals(object obj);public override bool Equals(object? obj);override this.Equals : obj -> boolPublic Overrides Function Equals (obj As Object) As BooleanParameters
- obj
- Object
An Object.
Returns
Returns true if obj is an OpenXmlAttribute structure and it is equal to this instance of an OpenXmlAttribute structure; otherwise, returns false.