Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FrameworkName::Equals Method (FrameworkName^)

.NET Framework (current version)
 

Returns a value that indicates whether this FrameworkName instance represents the same .NET Framework version as a specified FrameworkName instance.

Namespace:   System.Runtime.Versioning
Assembly:  System (in System.dll)

public:
virtual bool Equals(
	FrameworkName^ other
) sealed

Parameters

other
Type: System.Runtime.Versioning::FrameworkName^

The object to compare to the current instance.

Return Value

Type: System::Boolean

true if every component of the current FrameworkName object matches the corresponding component of other; otherwise, false.

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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft