SequenceNumber.Equals 方法
定义
指示此实例与指定对象是否相等。Indicates whether this instance and a specified object are equal.
重载
| Equals(SequenceNumber) |
指示此实例与指定序列号是否相等。Indicates whether this instance and a specified sequence number are equal. |
| Equals(Object) |
指示此实例与指定对象是否相等。Indicates whether this instance and a specified object are equal. |
Equals(SequenceNumber)
指示此实例与指定序列号是否相等。Indicates whether this instance and a specified sequence number are equal.
public:
bool Equals(System::IO::Log::SequenceNumber other);
public bool Equals (System.IO.Log.SequenceNumber other);
override this.Equals : System.IO.Log.SequenceNumber -> bool
Public Function Equals (other As SequenceNumber) As Boolean
参数
- other
- SequenceNumber
要比较的另一个 SequenceNumber。Another SequenceNumber to compare to.
返回
如果 true 和该实例表示相同的值,则为 other;否则为 false。true if other and this instance represent the same value; otherwise, false.
适用于
Equals(Object)
指示此实例与指定对象是否相等。Indicates whether this instance and a specified object are equal.
public:
override bool Equals(System::Object ^ other);
public override bool Equals (object other);
override this.Equals : obj -> bool
Public Overrides Function Equals (other As Object) As Boolean
参数
- other
- Object
要比较的另一个对象。Another object to compare to.
返回
如果 true 和该实例具有相同的类型并表示相同的值,则为 other;否则为 false。true if other and this instance are the same type and represent the same value; otherwise, false.