AFDataMethods Enumeration
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFDataMethods is an enumeration of the possible data methods which a
data reference supports. It is returned by the
AFAttribute.SupportedDataMethods and
AFDataReference.SupportedDataMethods
properties.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[FlagsAttribute] public enum AFDataMethods
<FlagsAttribute> Public Enumeration AFDataMethods Dim instance As AFDataMethods
[FlagsAttribute] public enum class AFDataMethods
[<FlagsAttribute>] type AFDataMethods
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | None of the data methods are supported. Therefore, an implemented data reference should never return this value. | |
| InterpolatedValue | 1 | The InterpolatedValue(AFTime, UOM) method is supported by the data reference. | |
| InterpolatedValues | 2 | The InterpolatedValues(AFTimeRange, AFTimeSpan, UOM, String, Boolean) method is supported by the data reference. | |
| InterpolatedValuesAtTimes | 4 | The InterpolatedValuesAtTimes(IListAFTime, UOM, String, Boolean) method is supported by the data reference. | |
| RecordedValue | 16 | The RecordedValue(AFTime, AFRetrievalMode, UOM) method is supported by the data reference. | |
| RecordedValues | 32 | The RecordedValues(AFTimeRange, AFBoundaryType, UOM, String, Boolean, Int32) method is supported by the data reference. | |
| RecordedValuesByCount | 64 | The RecordedValuesByCount(AFTime, Int32, Boolean, AFBoundaryType, UOM, String, Boolean) method is supported by the data reference. | |
| PlotValues | 128 | The PlotValues(AFTimeRange, Int32, UOM) method is supported by the data reference. | |
| Annotations | 256 | The GetAnnotation and SetAnnotation(Object) methods are supported by the data reference. | |
| RecordedValuesAtTimes | 512 | The RecordedValuesAtTimes(IListAFTime, AFRetrievalMode, UOM) method is supported by the data reference. | |
| Summary | 4096 | The Summary(AFTimeRange, AFSummaryTypes, AFCalculationBasis, AFTimestampCalculation) method is supported by the data reference. | |
| Summaries | 8192 | The Summaries(AFTimeRange, AFTimeSpan, AFSummaryTypes, AFCalculationBasis, AFTimestampCalculation) method is supported by the data reference. | |
| Filters | 65536 | The AFData methods support the filterExpression parameter when provided. | |
| FilteredSummaries | 131072 | The FilteredSummaries(AFTimeRange, AFTimeSpan, String, AFSummaryTypes, AFCalculationBasis, AFSampleType, AFTimeSpan, AFTimestampCalculation) method is supported by the data reference. | |
| UpdateValue | 1048576 | The UpdateValue(AFValue, AFUpdateOption) method is supported by the data reference. | |
| UpdateValues | 2097152 | The UpdateValues(AFValues, AFUpdateOption) method is supported by the data reference. | |
| Buffering | 4194304 | The data reference supports Buffering when updating values. | |
| DataPipe | 16777216 | The data reference supports AFDataPipe . | |
| Future | 33554432 | The data reference supports accessing data in the future. | |
| Asynchronous | 67108864 | The data reference supports asynchronous methods. | |
| ReplaceRange | 134217728 | The data reference supports ReplaceValues method, that replaces data within an AFTimeRange. |