MethodBuilder::Equals Method (Object^)

 

Determines whether the given object is equal to this instance.

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

public:
virtual bool Equals(
	Object^ obj
) override

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.

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

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show: