TextPatternIdentifiers 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含用作标识符 ITextProvider的值。
public ref class TextPatternIdentifiers abstract sealed
public static class TextPatternIdentifiers
type TextPatternIdentifiers = class
Public Class TextPatternIdentifiers
- 继承
-
TextPatternIdentifiers
注解
TextPattern 公开对象(如编辑控件和文档)的文本内容的详细信息。
应编写UI 自动化提供程序,以便在部分信任环境中工作。 由于 UIAutomationClient.dll 未配置为完全信任,因此提供程序代码不应引用该程序集。 如果这样做,代码可能会在完全信任环境中运行,但在部分信任环境中会失败。
具体而言,请勿在类中使用 UIAutomationClient.dll 中的字段,例如这些 AutomationElement字段。 请改用 UIAutomationTypes.dll类中的等效字段,例如 AutomationElementIdentifiers。