AFChangedEventArgs.FindObject Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Retrieves the AFObject associated with the event.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFObject FindObject( Object sender )
Public Function FindObject ( sender As Object ) As AFObject Dim instance As AFChangedEventArgs 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. If the IsSubObjectEvent property of the event is , then the sender object is returned.
Remarks
The information contained by the specified sender and
this event is used to find the AFObject
associated with the event.