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

AF SDK Reference

AFEventFrame.FindEventFrame Method (PISystem, Guid)

AFEventFrame.FindEventFrame Method (PISystem, Guid)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFEventFrame.FindEventFrame Method (PISystem, Guid)
Retrieves the AFEventFrame object with the specified unique identifier at the AFTime.MaxValue query date.

Namespace:  OSIsoft.AF.EventFrame
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public static AFEventFrame FindEventFrame(
	PISystem system,
	Guid id
)
Public Shared Function FindEventFrame ( 
	system As PISystem,
	id As Guid
) As AFEventFrame

Dim system As PISystem
Dim id As Guid
Dim returnValue As AFEventFrame

returnValue = AFEventFrame.FindEventFrame(system, 
	id)
public:
static AFEventFrame^ FindEventFrame(
	PISystem^ system, 
	Guid id
)
static member FindEventFrame : 
        system : PISystem * 
        id : Guid -> AFEventFrame 

Parameters

system
Type: OSIsoft.AFPISystem
The PISystem to search for the desired object.
id
Type: SystemGuid
The unique identifier of the object to find.

Return Value

Type: AFEventFrame
The AFEventFrame in the PISystem which matches the unique identifier. If the object does not exist, then will be returned.

Remarks

An event frame must be saved to the server using ApplyChanges or CheckIn before it will be returned by this find method. The AFEventFrame object with the specified id is returned.

Version Information

AFSDK


See Also

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