Runtime.Equals(Object, Object) 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.
Determines whether two specified values are equal.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static bool Equals(System::Object ^ v1, System::Object ^ v2);
public static bool Equals (object v1, object v2);
static member Equals : obj * obj -> bool
Public Shared Function Equals (v1 As Object, v2 As Object) As Boolean
Parameters
- v1
- Object
The first operand.
- v2
- Object
The second operand.
Returns
true
if the values are equal; false
if the values are not equal.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.