PeerEndPoint.Equals メソッド
定義
PeerEndPoint オブジェクトの内容が、他のオブジェクトの内容と等しいかどうかを示します。Specifies if the content of the PeerEndPoint object is equivalent to the content of another object.
オーバーロード
Equals(Object, Object) |
指定した PeerEndPoint オブジェクトが等しいかどうかを判断します。Determines whether the specified PeerEndPoint objects are considered equal. |
Equals(Object) |
PeerEndPoint と指定した Object を比較します。Compares the PeerEndPoint to the specified Object. |
Equals(PeerEndPoint) |
PeerEndPoint と指定した PeerEndPoint インスタンスを比較します。Compares the PeerEndPoint to the specified PeerEndPoint instance. |
Equals(Object, Object)
指定した PeerEndPoint オブジェクトが等しいかどうかを判断します。Determines whether the specified PeerEndPoint objects are considered equal.
public:
static bool Equals(System::Object ^ objA, System::Object ^ objB);
public static bool Equals (object objA, object objB);
static member Equals : obj * obj -> bool
Public Shared Function Equals (objA As Object, objB As Object) As Boolean
パラメーター
- objA
- Object
比較対象となる最初の PeerEndPoint。The first PeerEndPoint to compare.
- objB
- Object
比較対象となる 2 番目の PeerEndPoint。The second PeerEndPoint to compare.
戻り値
指定された PeerEndPoint インスタンスのデータが一致する場合は true
。それ以外の場合は false
。true
if the PeerEndPoint instances provided have matching data; otherwise, false
.
Equals(Object)
PeerEndPoint と指定した Object を比較します。Compares the PeerEndPoint to the specified Object.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
パラメーター
戻り値
PeerEndPoint が指定したオブジェクトのインスタンスと等しい場合は true
。それ以外の場合は false
。true
if the PeerEndPoint is equal to the specified object instance; otherwise, false
.
Equals(PeerEndPoint)
PeerEndPoint と指定した PeerEndPoint インスタンスを比較します。Compares the PeerEndPoint to the specified PeerEndPoint instance.
public:
virtual bool Equals(System::Net::PeerToPeer::Collaboration::PeerEndPoint ^ other);
public bool Equals (System.Net.PeerToPeer.Collaboration.PeerEndPoint other);
override this.Equals : System.Net.PeerToPeer.Collaboration.PeerEndPoint -> bool
Public Function Equals (other As PeerEndPoint) As Boolean
パラメーター
- other
- PeerEndPoint
等しいかどうかをテストする PeerEndPoint インスタンス。The PeerEndPoint instance to test for equality.
戻り値
指定された PeerEndPoint インスタンスのデータが一致する場合は true
。それ以外の場合は false
。true
if the PeerEndPoint instance provided has matching data; otherwise, false
.
実装
例外
この PeerEndPoint オブジェクトは破棄されました。This PeerEndPoint object has been disposed.