This documentation is archived and is not being maintained.

CacheRequest.Add Method

Adds a property or pattern identifier to a CacheRequest.

Name Description
CacheRequest.Add (AutomationPattern) Adds the specified AutomationPattern identifier to this CacheRequest.
CacheRequest.Add (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.