Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AutomationElement Methods

The AutomationElement type exposes the following members.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.