Freigeben über


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
)

Parameter

Rückgabewert

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

Siehe auch

Referenz

OpenXmlAttribute Struktur

OpenXmlAttribute-Member

DocumentFormat.OpenXml-Namespace