TextPatternIdentifiers 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
包含用作 的 ITextProvider識別碼值。
public ref class TextPatternIdentifiers abstract sealed
public static class TextPatternIdentifiers
type TextPatternIdentifiers = class
Public Class TextPatternIdentifiers
- 繼承
-
TextPatternIdentifiers
備註
TextPattern 揭露物件文字內容的詳細資訊,如編輯控制與文件。
使用者介面自動化 服務提供者應該被設計成能在部分信任環境中運作。 因為 UIAutomationClient.dll 沒有設定為完全信任,你的提供者程式碼不應該參考那個組合語言。 若如此,程式碼可能在全信任環境中執行,但在部分信任環境中失敗。
特別地,不要使用 UIAutomationClient.dll 類別中的欄位,例如在 AutomationElement 中的欄位。 相反地,使用 UIAutomationTypes.dll類別中的等價欄位,例如 AutomationElementIdentifiers。