AddressHeader::Equals Method (Object^)

 

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:
virtual bool Equals(
	Object^ obj
) override

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.

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
Return to top
Show: