AFEventFrame.GetParents Method (AFCategory)
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- 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.2.0.7
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.