HostName.IsEqual(HostName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual bool IsEqual(HostName ^ hostName) = IsEqual;
bool IsEqual(HostName const& hostName);
public bool IsEqual(HostName hostName);
function isEqual(hostName)
Public Function IsEqual (hostName As HostName) As Boolean
Parameters
Returns
bool
A Boolean value that indicates whether the specified HostName object is equal to the current HostName object.
Remarks
The Equals method determines whether the HostName object specified by the hostName parameter is the same instance of the current HostName object.
The IsEqual method determines whether the HostName object specified by the hostName parameter has an equivalent value to the current HostName object. Two HostName objects are considered to have the equivalent value if the CanonicalName property has the same value.