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

AF SDK Reference

AFChangedEventArgs.FindObject Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFChangedEventArgs.FindObject Method
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: AFObject
The 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.

Version Information

AFSDK


See Also

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