OpenXmlAttribute.Equality(OpenXmlAttribute, OpenXmlAttribute) 运算符

定义

确定 OpenXmlAttribute 结构的两个实例是否相等。

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

参数

attribute1
OpenXmlAttribute

OpenXmlAttribute 结构的第一个实例。

attribute2
OpenXmlAttribute

OpenXmlAttribute 结构的第二个实例。

返回

如果所有对应成员相等,则返回 true;否则,返回 false。

适用于