XmlLanguage.Equality Operator
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether two specified XmlLanguage objects have the same value.
Namespace: System.Windows.Markup
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public Shared Operator = ( _
xmlLanguage1 As XmlLanguage, _
xmlLanguage2 As XmlLanguage _
) As Boolean
public static bool operator ==(
XmlLanguage xmlLanguage1,
XmlLanguage xmlLanguage2
)
Parameters
- xmlLanguage1
Type: System.Windows.Markup..::.XmlLanguage
The first XmlLanguage to compare.
- xmlLanguage2
Type: System.Windows.Markup..::.XmlLanguage
The second XmlLanguage to compare.
Return Value
Type: System..::.Boolean
true if the value of xmlLanguage1 is the same as the value of xmlLanguage2; otherwise, false.
Remarks
Comparison is based on the IetfLanguageTag value.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone