AutomationElement Methods
.NET Framework 3.5
The AutomationElement type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified AutomationElement has the same value as this AutomationElement. (Overrides Object.Equals(Object).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
FindAll | Returns all AutomationElement objects that satisfy the specified condition. |
|
FindFirst | Returns the first child or descendant element that matches the specified condition. |
|
FromHandle | Retrieves a new AutomationElement object for the user interface (UI) item referenced by the specified window handle. |
|
FromLocalProvider | Retrieves a new AutomationElement object from a local IRawElementProviderSimple implementation. |
|
FromPoint | Retrieves a new AutomationElement object for the user interface (UI) item at specified point on the desktop. |
|
GetCachedPattern | Retrieves the specified pattern from the cache of this AutomationElement. |
|
GetCachedPropertyValue | Overloaded. Retrieves the cached value of the specified property from an AutomationElement. |
|
GetClickablePoint | Retrieves a point on the AutomationElement that can be clicked. |
|
GetCurrentPattern | Retrieves the specified pattern object on this AutomationElement. |
|
GetCurrentPropertyValue | Overloaded. Retrieves the current value of the specified property from an AutomationElement. |
|
GetHashCode | Retrieves the hash code for this AutomationElement. (Overrides Object.GetHashCode().) |
|
GetRuntimeId | Retrieves the unique identifier assigned to the user interface (UI) item. |
|
GetSupportedPatterns | Retrieves the control patterns that this AutomationElement supports. |
|
GetSupportedProperties | Retrieves the identifiers of properties supported by the element. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
GetUpdatedCache | Retrieves a new AutomationElement with an updated cache. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
SetFocus | Sets focus on the AutomationElement. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TryGetCachedPattern | Retrieves a control pattern from the cache. |
|
TryGetClickablePoint | Retrieves a point within the element that can be clicked. |
|
TryGetCurrentPattern | Retrieves an object that implements a control pattern. |