Equals Method

AddressHeader.Equals Method

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

Determines whether the information item in a specified object is equal to the object contained in the current address header.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public override bool Equals(
	Object obj
)

Parameters

obj
Type: System.Object
The Object to compare with the object contained in the current address header.

Return Value

Type: System.Boolean
true if the information item in a specified obj is equivalent to the information item contained in the current address header; otherwise, false. In particular, returns false if obj is null.

Checks for equivalence of serialized canonical XML between the information items.

The following example shows how to call this method.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft