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

AutomationElement Methods

(see also Protected Methods )
  Name Description
Public method Equals Overloaded. Overridden.  
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 FromHandle Retrieves a new AutomationElement object for the user interface (UI) item referenced by the specified window handle.
Public method Static FromLocalProvider Retrieves a new AutomationElement object from a local IRawElementProviderSimple implementation.
Public method Static 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 Overridden. Retrieves the hash code for this AutomationElement.
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.
Public method Static op_Equality Returns a value indicating whether the specified AutomationElement objects refer to the same user interface (UI) element.
Public method Static op_Inequality Returns a value indicating whether the specified AutomationElement objects refer to different user interface (UI) elements.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (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
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.