共用方式為


XmlLanguage.Inequality Operator

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Determines whether two specified XmlLanguage objects have a different value.

Namespace:  System.Windows.Markup
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Shared Operator <> ( _
    xmlLanguage1 As XmlLanguage, _
    xmlLanguage2 As XmlLanguage _
) As Boolean
public static bool operator !=(
    XmlLanguage xmlLanguage1,
    XmlLanguage xmlLanguage2
)

Parameters

Return Value

Type: System.Boolean
true if the value of xmlLanguage1 is different from the value of xmlLanguage2; otherwise, false.

Remarks

Comparison is based on the IetfLanguageTag value.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.