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

AF SDK Reference

AFEventFrame.GetParents Method (AFCategory)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFEventFrame.GetParents Method (AFCategory)
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: AFNamedCollectionListAFEventFrame
Returns a collection containing the specified page of AFEventFrame objects which reference this event frame using the specified AFCategory.

Version Information

AFSDK


See Also

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