AFKeyedResults(TKey, TResult).AddResult Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Add a result to the Results dictionary.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void AddResult( TKey key, TResult result )
Public Sub AddResult ( key As TKey, result As TResult ) Dim instance As AFKeyedResults Dim key As TKey Dim result As TResult instance.AddResult(key, result)
public: void AddResult( TKey key, TResult result )
member AddResult : key : 'TKey * result : 'TResult -> unit
Parameters
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when the requested key is . |
Remarks
This method will add the result to the Results dictionary.