This documentation is archived and is not being maintained.

CacheRequest Members

Specifies properties and patterns that the UI Automation framework caches when an AutomationElement is obtained.

The following tables list the members exposed by the CacheRequest type.

  Name Description
Public method CacheRequest Initializes a new instance of the CacheRequest class.
Top

  Name Description
Public property AutomationElementMode Gets or sets a value that specifies whether returned elements should contain full references to the underlying user interface (UI), or only cached information.
Public property Static Current Gets the CacheRequest that is active on the current thread.
Public property TreeFilter Gets or sets a value specifying the view of the UI Automation element tree to use when caching.
Public property TreeScope Gets or sets a value that specifies whether caching is done only for the root of the subtree, or also for its children or descendants.
Top

(see also Protected Methods )
  Name Description
Public method Activate Sets this CacheRequest as the active specification for the items that are returned when an AutomationElement is requested on the same thread.
Public method Add Overloaded. Adds a property or pattern identifier to a CacheRequest.
Public method Clone Creates a copy of this CacheRequest.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Pop Removes the active CacheRequest from the internal stack for the current thread.
Public method Push Places the CacheRequest on the internal state stack, making it the active request on the current thread.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
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
Show: