AFData.GetAllCachedValues Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- 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.1.1.1182
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. |