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);
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.

返回

Boolean

如果 obj 是一个 AsyncFlowControl 结构并且等于当前 AsyncFlowControl 结构,则为 true;否则为 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.

返回

Boolean

如果 obj 等于当前的 AsyncFlowControl 结构,则为 true;否则为 falsetrue if obj is equal to the current AsyncFlowControl structure; otherwise, false.

适用于