Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFDataCache.GetRelatedAttributes Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDataCache.GetRelatedAttributes Method
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, IEnumerableAFAttribute
A mapping of changes to attributes they impact. Changes not impacting any attributes are not returned.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5

See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in