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

AF SDK Reference

AFContact.FindContact Method (PISystem, Guid)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFContact.FindContact Method (PISystem, Guid)
Retrieves the AFContact object with the specified unique identifier.

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

Syntax

public static AFContact FindContact(
	PISystem system,
	Guid id
)
Public Shared Function FindContact ( 
	system As PISystem,
	id As Guid
) As AFContact

Dim system As PISystem
Dim id As Guid
Dim returnValue As AFContact

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

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: AFContact
The AFContact in the PISystem which matches the unique identifier.

Remarks

The AFContact object with the specified id is returned. If the object does not exist, then will be returned.

Version Information

AFSDK


See Also

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