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

TreeWalker Methods

The TreeWalker type exposes the following members.

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetFirstChild(AutomationElement) Retrieves the first child element of the specified AutomationElement.
Public method GetFirstChild(AutomationElement, CacheRequest) Retrieves the first child element of the specified AutomationElement and caches properties and patterns.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLastChild(AutomationElement) Retrieves the last child element of the specified AutomationElement.
Public method GetLastChild(AutomationElement, CacheRequest) Retrieves the last child element of the specified AutomationElement and caches properties and patterns.
Public method GetNextSibling(AutomationElement) Retrieves the next sibling element of the specified AutomationElement.
Public method GetNextSibling(AutomationElement, CacheRequest) Retrieves the next sibling element of the specified AutomationElement and caches properties and patterns.
Public method GetParent(AutomationElement) Retrieves the parent element of the specified AutomationElement.
Public method GetParent(AutomationElement, CacheRequest) Retrieves the parent element of the specified AutomationElement and caches properties and patterns.
Public method GetPreviousSibling(AutomationElement) Retrieves the previous sibling of the specified AutomationElement.
Public method GetPreviousSibling(AutomationElement, CacheRequest) Retrieves the previous sibling of the specified AutomationElement and caches properties and patterns.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Normalize(AutomationElement) Retrieves the node itself, if it satisfies the Condition, or the nearest parent or ancestor node that satisfies the Condition.
Public method Normalize(AutomationElement, CacheRequest) Retrieves the node itself, if it satisfies the Condition, or the nearest parent or ancestor node that satisfies the Condition, and caches properties and patterns.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.