FrameworkName::Equals Method (FrameworkName^)
Returns a value that indicates whether this FrameworkName instance represents the same .NET Framework version as a specified FrameworkName instance.
Assembly: System (in System.dll)
Parameters
- other
-
Type:
System.Runtime.Versioning::FrameworkName^
The object to compare to the current instance.
Return Value
Type: System::Booleantrue if every component of the current FrameworkName object matches the corresponding component of other; otherwise, false.
Implements
IEquatable<T>::Equals(T)The method tests for equality by returning the result of the following comparisons:
An ordinal comparison of the Identifier property values of the current instance and other.
An ordinal comparison of the Profile property values of the current instance and other.
A comparison of the version properties by calling the Version::Equals method.
Available since 10
.NET Framework
Available since 4.0