GenericTypeParameterBuilder.Equals(Object) GenericTypeParameterBuilder.Equals(Object) GenericTypeParameterBuilder.Equals(Object) GenericTypeParameterBuilder.Equals(Object) Method

定义

测试给定的对象是否为 EventToken 的实例,并检查它是否与当前实例相等。Tests whether the given object is an instance of EventToken and is equal to the current instance.

public:
 override bool Equals(System::Object ^ o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean

参数

o
Object Object Object Object

要与当前实例进行比较的对象。The object to be compared with the current instance.

返回

如果 otrue 的实例并等于当前实例,则为 EventToken;否则,为 falsetrue if o is an instance of EventToken and equals the current instance; otherwise, false.

适用于