ContourPoint.Equals 方法
定义
提供比较对象的方法。Provides methods for comparing objects.
重载
| Equals(Object) |
确定给定对象是否为 ContourPoint 的实例且等于 ContourPoint 的当前实例。Determines if a given object is an instance of ContourPoint and equal to the current instance of ContourPoint. |
| Equals(ContourPoint) |
确定 ContourPoint 的给定实例是否等于 ContourPoint 的当前实例。Determines if a given instance of ContourPoint is equal to the current instance of ContourPoint. |
Equals(Object)
确定给定对象是否为 ContourPoint 的实例且等于 ContourPoint 的当前实例。Determines if a given object is an instance of ContourPoint and equal to the current instance of ContourPoint.
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
可强制转换为 ContourPoint 的实例的对象。An object that can be cast to an instance of ContourPoint.
返回
如果 ContourPoint 的当前实例等于从 obj 参数中获取的实例,则返回 true;否则返回 false。Returns true if the current instance of ContourPoint and that obtained from the obj argument are equal, otherwise returns false.
注解
如果 Object obj 无法将参数提供的转换为,则此方法返回 false ContourPoint 。The method returns false if the Object provided by the obj argument cannot be cast to ContourPoint.
适用于
Equals(ContourPoint)
确定 ContourPoint 的给定实例是否等于 ContourPoint 的当前实例。Determines if a given instance of ContourPoint is equal to the current instance of ContourPoint.
public:
virtual bool Equals(System::Speech::Synthesis::TtsEngine::ContourPoint other);
public bool Equals (System.Speech.Synthesis.TtsEngine.ContourPoint other);
override this.Equals : System.Speech.Synthesis.TtsEngine.ContourPoint -> bool
Public Function Equals (other As ContourPoint) As Boolean
参数
- other
- ContourPoint
要与当前实例进行比较的 ContourPoint 实例。An instance of ContourPoint that will be compared to the current instance.
返回
如果 ContourPoint 的当前实例和通过 other 参数提供的当前实例相等,则返回 true;否则返回 false。Returns true if both the current instance of ContourPoint and that supplied through the other argument are equal, otherwise returns false.