Equality Operator
Collapse the table of content
Expand the table of content

UniqueId.Equality Operator

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Overrides the equality operator to test for equality of two UniqueId objects.

Namespace:  System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

'Declaration
Public Shared Operator = ( _
	id1 As UniqueId, _
	id2 As UniqueId _
) As Boolean

Parameters

id1
Type: System.Xml.UniqueId
The first UniqueId.
id2
Type: System.Xml.UniqueId
The second UniqueId.

Return Value

Type: System.Boolean
true if the two UniqueIds are equal or are both Nothing; false if they are not equal or if only one of them is Nothing.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft