Export (0) Print
Expand All

TreeWalker Methods

The TreeWalker type exposes the following members.

  NameDescription
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from 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 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 a hash function for a particular type. (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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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

Community Additions

ADD
Show:
© 2014 Microsoft