Share via


ISelectionProvider.IsSelectionRequired 属性

定义

获取一个值,该值指示 UI 自动化提供程序是否需要至少选择一个子元素。

public:
 property bool IsSelectionRequired { bool get(); };
bool IsSelectionRequired();
public bool IsSelectionRequired { get; }
var boolean = iSelectionProvider.isSelectionRequired;
Public ReadOnly Property IsSelectionRequired As Boolean

属性值

Boolean

bool

如果需要选择,则为 true;否则为 false

适用于