Udostępnij za pośrednictwem


OpenXmlAttribute.Equals Method

Definition

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 -> bool
Public Function Equals (other As OpenXmlAttribute) As Boolean

Parameters

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 -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

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.

Applies to