AFDataCache.GetRelatedAttributes Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
For each AFChangeInfo, finds the subscribed AFAttributes that might be impacted by the change.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public IEnumerable<KeyValuePair<AFChangeInfo, IEnumerable<AFAttribute>>> GetRelatedAttributes( IEnumerable<AFChangeInfo> changes )
Public Function GetRelatedAttributes ( changes As IEnumerable(Of AFChangeInfo) ) As IEnumerable(Of KeyValuePair(Of AFChangeInfo, IEnumerable(Of AFAttribute))) Dim instance As AFDataCache Dim changes As IEnumerable(Of AFChangeInfo) Dim returnValue As IEnumerable(Of KeyValuePair(Of AFChangeInfo, IEnumerable(Of AFAttribute))) returnValue = instance.GetRelatedAttributes(changes)
public: IEnumerable<KeyValuePair<AFChangeInfo, IEnumerable<AFAttribute^>^>>^ GetRelatedAttributes( IEnumerable<AFChangeInfo>^ changes )
member GetRelatedAttributes : changes : IEnumerable<AFChangeInfo> -> IEnumerable<KeyValuePair<AFChangeInfo, IEnumerable<AFAttribute>>>
Parameters
- changes
- Type: System.Collections.GenericIEnumerableAFChangeInfo
Changes that have not yet been refreshed.
Return Value
Type: IEnumerableKeyValuePairAFChangeInfo, IEnumerableAFAttributeA mapping of changes to attributes they impact. Changes not impacting any attributes are not returned.