AFEventFrame.GetParents Method (AFReferenceType)
- 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 AFReferenceType.
Namespace: OSIsoft.AF.EventFrame
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFNamedCollectionList<AFEventFrame> GetParents( AFReferenceType refType )
Public Function GetParents ( refType As AFReferenceType ) As AFNamedCollectionList(Of AFEventFrame) Dim instance As AFEventFrame Dim refType As AFReferenceType Dim returnValue As AFNamedCollectionList(Of AFEventFrame) returnValue = instance.GetParents(refType)
public: AFNamedCollectionList<AFEventFrame^>^ GetParents( AFReferenceType^ refType )
member GetParents : refType : AFReferenceType -> AFNamedCollectionList<AFEventFrame>
Parameters
- refType
- Type: OSIsoft.AF.AssetAFReferenceType
The AFReferenceType 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 AFReferenceType.