OpenXmlAttribute.Equality(OpenXmlAttribute, OpenXmlAttribute) 运算符
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定 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。