AFListResults(TKey, TResult) Constructor (Int32)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Initializes a new instance of the AFListResultsTKey, TResult class.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFListResults( int capacity )
Public Sub New ( capacity As Integer ) Dim capacity As Integer Dim instance As New AFListResults(capacity)
public: AFListResults( int capacity )
new : capacity : int -> AFListResults
Parameters
- capacity
- Type: SystemInt32
The number of Results that the new list can initially store.
Remarks
The capacity of the Results is the number of results that Results
can store. As results are added to the Results list, the capacity is automatically
increased as required by reallocating the internal memory for storing the list.