Equals Method

MethodInfo.Equals Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns a value that indicates whether this instance is equal to a specified object.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Overrides Function Equals ( _
	obj As Object _
) As Boolean

Parameters

obj
Type: System.Object
An object to compare with this instance, or Nothing.

Return Value

Type: System.Boolean
true if obj equals the type and value of this instance; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft