CacheRequest.Add Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds a property or pattern identifier to a CacheRequest.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

NameDescription
System_CAPS_pubmethodAdd(AutomationPattern)

Adds the specified AutomationPattern identifier to this CacheRequest.

System_CAPS_pubmethodAdd(AutomationProperty)

Adds the specified AutomationProperty identifier to this CacheRequest.

When a CacheRequest object is created, the RuntimeIdProperty identifier is added as a default property to cache.

Adding an object that is already in the cache request has no effect.

Return to top
Show: