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

Return Value

Type: System.Boolean
true if all LocalName, NamespaceUri, Prefix and Value of attribute1 and attribute2 are different; otherwise, false.

See Also

Reference

OpenXmlAttribute Structure

OpenXmlAttribute Members

DocumentFormat.OpenXml Namespace