Condition 类

定义

在 UI 自动化目录树中搜索元素时应用于筛选的条件的基类型。Base type for conditions used in filtering when searching for elements in the UI Automation tree.

public ref class Condition abstract
public abstract class Condition
type Condition = class
Public MustInherit Class Condition
继承
Condition
派生

字段

FalseCondition

表示一个 Condition,其计算结果总是为 falseRepresents a Condition that always evaluates to false.

TrueCondition

表示一个 Condition,其计算结果总是为 trueRepresents a Condition that always evaluates to true.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅