共用方式為


MethodBuilder.Equals Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Determines whether the given object is equal to this instance.

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

Syntax

'Declaration
<SecuritySafeCriticalAttribute> _
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
[SecuritySafeCriticalAttribute]
public override bool Equals(
    Object obj
)

Parameters

  • obj
    Type: System.Object
    The object to compare with this MethodBuilder instance.

Return Value

Type: System.Boolean
true if obj is an instance of MethodBuilder and is equal to this object; otherwise, false.

Remarks

Equality is determined by having the same name, attributes, and signature.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.