HostName.IsEqual(HostName) Method
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
bool
A Boolean value that indicates whether the specified HostName object is equal to the current HostName object.
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.
Product | Versions |
---|---|
WinRT | Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |