AFProgressEventArgs.FindObject Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Retrieves the AFObject associated with the event.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFObject FindObject( Object sender )
Public Function FindObject ( sender As Object ) As AFObject Dim instance As AFProgressEventArgs Dim sender As Object Dim returnValue As AFObject returnValue = instance.FindObject(sender)
public: AFObject^ FindObject( Object^ sender )
member FindObject : sender : Object -> AFObject
Parameters
- sender
- Type: SystemObject
The source of the event.
Return Value
Type: AFObjectThe AFObject associated with the change represented by the event is returned.
Remarks
The information contained by the specified sender and
this event is used to find the AFObject
associated with the event.