RepeatBehavior.Equals 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示兩個 RepeatBehavior 物體是否相等。
多載
| 名稱 | Description |
|---|---|
| Equals(Object) |
指出這個實例是否等於指定的物件。 |
| Equals(RepeatBehavior) |
回傳一個值,表示此實例是否等於指定的 RepeatBehavior。 |
| Equals(RepeatBehavior, RepeatBehavior) |
表示兩個指定 RepeatBehavior 結構是否相等。 |
Equals(Object)
指出這個實例是否等於指定的物件。
public:
override bool Equals(System::Object ^ value);
public override bool Equals(object value);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean
參數
- value
- Object
這個例子是要比較的對象。
傳回
true 若 value 是代表與此實例相同的重複行為的 a RepeatBehavior ;否則, false。
適用於
Equals(RepeatBehavior)
回傳一個值,表示此實例是否等於指定的 RepeatBehavior。
public:
bool Equals(System::Windows::Media::Animation::RepeatBehavior repeatBehavior);
public bool Equals(System.Windows.Media.Animation.RepeatBehavior repeatBehavior);
override this.Equals : System.Windows.Media.Animation.RepeatBehavior -> bool
Public Function Equals (repeatBehavior As RepeatBehavior) As Boolean
參數
- repeatBehavior
- RepeatBehavior
與此案例相比的價值。
傳回
true 若 的 repeatBehavior 類型與重複行為均等於此實例;否則, false。
適用於
Equals(RepeatBehavior, RepeatBehavior)
表示兩個指定 RepeatBehavior 結構是否相等。
public:
static bool Equals(System::Windows::Media::Animation::RepeatBehavior repeatBehavior1, System::Windows::Media::Animation::RepeatBehavior repeatBehavior2);
public static bool Equals(System.Windows.Media.Animation.RepeatBehavior repeatBehavior1, System.Windows.Media.Animation.RepeatBehavior repeatBehavior2);
static member Equals : System.Windows.Media.Animation.RepeatBehavior * System.Windows.Media.Animation.RepeatBehavior -> bool
Public Shared Function Equals (repeatBehavior1 As RepeatBehavior, repeatBehavior2 As RepeatBehavior) As Boolean
參數
- repeatBehavior1
- RepeatBehavior
第一個要比較的值。
- repeatBehavior2
- RepeatBehavior
要比較的第二個值。
傳回
true 若 的 repeatBehavior1 型態與重複行為皆等於 ; repeatBehavior2否則, false。