This documentation is archived and is not being maintained.

TextPatternIdentifiers Class

Contains values used as identifiers for ITextProvider.

Namespace: System.Windows.Automation
Assembly: UIAutomationTypes (in uiautomationtypes.dll)
XML Namespace:

public static class TextPatternIdentifiers
public final class TextPatternIdentifiers
public final class TextPatternIdentifiers
Not applicable.

TextPattern exposes detailed information of the textual contents of objects such as edit controls and documents.

UI Automation providers should be written so that they can work in a partial-trust environment. Because UIAutomationClient.dll is not configured for full trust, your provider code should not reference that assembly. If it does so, the code may run in a full-trust environment but then fail in a partial-trust environment.

In particular, do not use fields from classes in UIAutomationClient.dll such as those in AutomationElement. Instead, use the equivalent fields from classes in UIAutomationTypes.dll, such as AutomationElementIdentifiers.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0