UniqueId.Equality Operator (UniqueId, UniqueId)

 
equivalentCodeEntityM:System.Xml.UniqueId.Equals(System.Xml.UniqueId,System.Xml.UniqueId)

Overrides the equality operator to test for equality of two UniqueIds.

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

public static bool operator ==(
	UniqueId id1,
	UniqueId id2
)

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 null; false if they are not equal, or if only one of them is null.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: