FrameworkName::Equals Method (Object^)

.NET Framework (current version)
 

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

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

public:
virtual bool Equals(
	Object^ obj
) override

Parameters

obj
Type: System::Object^

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 obj; otherwise, false.

The method converts obj to a FrameworkName object and calls the FrameworkName::Equals(FrameworkName^) overload to test for equality. If the conversion does not succeed or if obj is null, the method returns false.

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