AFEventFrame.GetParents Method (AFCategory)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Retrieves a collection of AFEventFrame objects that reference this event frame
using the specified AFCategory.
Namespace: OSIsoft.AF.EventFrame
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFNamedCollectionList<AFEventFrame> GetParents( AFCategory refCategory )
Public Function GetParents ( refCategory As AFCategory ) As AFNamedCollectionList(Of AFEventFrame) Dim instance As AFEventFrame Dim refCategory As AFCategory Dim returnValue As AFNamedCollectionList(Of AFEventFrame) returnValue = instance.GetParents(refCategory)
public: AFNamedCollectionList<AFEventFrame^>^ GetParents( AFCategory^ refCategory )
member GetParents : refCategory : AFCategory -> AFNamedCollectionList<AFEventFrame>
Parameters
- refCategory
- Type: OSIsoft.AFAFCategory
The reference AFCategory used when determining if a returned AFEventFrame references this event frame.
Return Value
Type: AFNamedCollectionListAFEventFrameReturns a collection containing the specified page of AFEventFrame objects which reference this event frame using the specified AFCategory.