MethodBuilder.Equals メソッド
指定したオブジェクトがこのインスタンスと等しいかどうかを確認します。
Overrides Public Function Equals( _
ByVal obj As Object _) As Boolean
[C#]
public override bool Equals(objectobj);
[C++]
public: bool Equals(Object* obj);
[JScript]
public override function Equals(
obj : Object) : Boolean;
パラメータ
- obj
この MethodBuilder インスタンスと比較するオブジェクト。
戻り値
obj が MethodBuilder のインスタンスで、このオブジェクトと等しい場合は true 。それ以外の場合は false 。
解説
等しいかどうかは、同じ名前、属性、およびシグネチャを持っているかどうかで判断されます。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
MethodBuilder クラス | MethodBuilder メンバ | System.Reflection.Emit 名前空間