AFKeyedResults(TKey, TResult).AddResult Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Add a result to the Results dictionary.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
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.