OpenXmlAttribute.Inequality Operator
Compares two OpenXmlAttribute structures for inequality.
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
)
Parameters
- attribute1
Type: DocumentFormat.OpenXml.OpenXmlAttribute
The first OpenXmlAttribute structure to compare.
- attribute2
Type: DocumentFormat.OpenXml.OpenXmlAttribute
The second OpenXmlAttribute structure to compare.
Return Value
Type: System.Boolean
true if all LocalName, NamespaceUri, Prefix and Value of attribute1 and attribute2 are different; otherwise, false.