MethodBase.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)

Syntax

Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
public override bool Equals(
    Object obj
)

Parameters

  • obj
    Type: System..::.Object
    An object to compare with this instance, or nullNothingnullptra null reference (Nothing in Visual Basic).

Return Value

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

MethodBase Class

System.Reflection Namespace