OpenXmlAttribute.Equality-Operator
Compares two OpenXmlAttribute structures for equality.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Operator = ( _
attribute1 As OpenXmlAttribute, _
attribute2 As OpenXmlAttribute _
) As Boolean
'Usage
Dim attribute1 As OpenXmlAttribute
Dim attribute2 As OpenXmlAttribute
Dim returnValue As Boolean
returnValue = (attribute1 = attribute2)
public static bool operator ==(
OpenXmlAttribute attribute1,
OpenXmlAttribute attribute2
)
Parameter
- attribute1
Typ: DocumentFormat.OpenXml.OpenXmlAttribute
The first OpenXmlAttribute structure to compare.
- attribute2
Typ: DocumentFormat.OpenXml.OpenXmlAttribute
The second OpenXmlAttribute structure to compare.
Rückgabewert
Typ: System.Boolean
true if all LocalName, NamespaceUri, Prefix and Value of attribute1 and attribute2 are equal; otherwise, false.