AsyncFlowControl.Equals 方法

定義

判斷兩個執行個體是否相等。Determines whether two instances are equal.

多載

Equals(Object)

判斷指定的物件是否等於目前的 AsyncFlowControl 結構。Determines whether the specified object is equal to the current AsyncFlowControl structure.

Equals(AsyncFlowControl)

判斷指定的 AsyncFlowControl 結構和目前的 AsyncFlowControl 結構是否相等。Determines whether the specified AsyncFlowControl structure is equal to the current AsyncFlowControl structure.

Equals(Object)

判斷指定的物件是否等於目前的 AsyncFlowControl 結構。Determines whether the specified object is equal to the current AsyncFlowControl structure.

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

參數

obj
Object

要與目前結構相比較的物件。An object to compare with the current structure.

傳回

如果 trueobj 結構,而且等於目前的 AsyncFlowControl 結構,則為 AsyncFlowControl,否則為 falsetrue if obj is an AsyncFlowControl structure and is equal to the current AsyncFlowControl structure; otherwise, false.

Equals(AsyncFlowControl)

判斷指定的 AsyncFlowControl 結構和目前的 AsyncFlowControl 結構是否相等。Determines whether the specified AsyncFlowControl structure is equal to the current AsyncFlowControl structure.

public:
 bool Equals(System::Threading::AsyncFlowControl obj);
public bool Equals (System.Threading.AsyncFlowControl obj);
override this.Equals : System.Threading.AsyncFlowControl -> bool
Public Function Equals (obj As AsyncFlowControl) As Boolean

參數

obj
AsyncFlowControl

要與目前結構相比較的 AsyncFlowControl 結構。An AsyncFlowControl structure to compare with the current structure.

傳回

如果 true 等於目前的 obj 結構,則為 AsyncFlowControl;否則為 falsetrue if obj is equal to the current AsyncFlowControl structure; otherwise, false.

適用於