SumType<T1,T2>.Equals 方法

定义

重载

Equals(SumType<T1,T2>)
Equals(Object)

Equals(SumType<T1,T2>)

Indicates whether the current object is equal to another object of the same type.

public:
 virtual bool Equals(Microsoft::VisualStudio::LanguageServer::Protocol::SumType<T1, T2> other);
public bool Equals (Microsoft.VisualStudio.LanguageServer.Protocol.SumType<T1,T2> other);
override this.Equals : Microsoft.VisualStudio.LanguageServer.Protocol.SumType<'T1, 'T2> -> bool
Public Function Equals (other As SumType(Of T1, T2)) As Boolean

参数

返回

Boolean

实现

适用于

Equals(Object)

Indicates whether this instance and a specified object are equal.

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

返回

Boolean

适用于