StandardFormat.Equals メソッド
定義
このインスタンスが指定したオブジェクトまたは StandardFormat と等しいかどうかを示す値を返します。Returns a value that indicates whether this instance is equal to a specified object or StandardFormat.
オーバーロード
Equals(StandardFormat) |
指定した StandardFormat が現在のインスタンスと等しいかどうかを示す値を返します。Returns a value that indicates whether the specified StandardFormat is equal to the current instance. |
Equals(Object) |
指定したオブジェクトが、現在のインスタンスと等しい StandardFormat オブジェクトであるかどうかを示す値を返します。Returns a value that indicates whether the specified object is a StandardFormat object that is equal to the current instance. |
注釈
2つの @no__t 0 インスタンスは、Symbol と @no__t 2 のプロパティが等しい場合に等しくなります。Two StandardFormat instances are equal if their Symbol and Precision properties are equal.
Equals(StandardFormat)
指定した StandardFormat が現在のインスタンスと等しいかどうかを示す値を返します。Returns a value that indicates whether the specified StandardFormat is equal to the current instance.
public:
virtual bool Equals(System::Buffers::StandardFormat other);
public bool Equals (System.Buffers.StandardFormat other);
override this.Equals : System.Buffers.StandardFormat -> bool
Public Function Equals (other As StandardFormat) As Boolean
パラメーター
- other
- StandardFormat
現在のインスタンスと比較する対象の形式。The format to compare to the current instance.
戻り値
2 つのインスタンスが等しい場合は true
、それ以外の場合は false
。true
if the two instances are equal; otherwise, false
.
実装
Equals(Object)
指定したオブジェクトが、現在のインスタンスと等しい StandardFormat オブジェクトであるかどうかを示す値を返します。Returns a value that indicates whether the specified object is a StandardFormat object that is equal to the current instance.
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 to the current instance.
戻り値
2 つのインスタンスが等しい場合は true
、それ以外の場合は false
。true
if the two instances are equal; otherwise, false
.