共用方式為


OpenXmlAttribute.Equality(OpenXmlAttribute, OpenXmlAttribute) Operator

Definition

Determines if two instances of OpenXmlAttribute structures are equal.

public static bool operator == (DocumentFormat.OpenXml.OpenXmlAttribute attribute1, DocumentFormat.OpenXml.OpenXmlAttribute attribute2);
static member ( = ) : DocumentFormat.OpenXml.OpenXmlAttribute * DocumentFormat.OpenXml.OpenXmlAttribute -> bool
Public Shared Operator == (attribute1 As OpenXmlAttribute, attribute2 As OpenXmlAttribute) As Boolean

Parameters

attribute1
OpenXmlAttribute

The first instance of an OpenXmlAttribute structure.

attribute2
OpenXmlAttribute

The second instance of an OpenXmlAttribute structure.

Returns

Returns true if all corresponding members are equal; otherwise, returns false.

Applies to