AFData.GetAllCachedValues Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Get all the events in the AFDataCache for this AFData instance.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFValues GetAllCachedValues()
Public Function GetAllCachedValues As AFValues Dim instance As AFData Dim returnValue As AFValues returnValue = instance.GetAllCachedValues()
public: AFValues^ GetAllCachedValues()
member GetAllCachedValues : unit -> AFValues
Return Value
Type: AFValuesReturns an AFValues collection with the cached values.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | This exception is thrown if this AFData instance is not cached enabled. |