AFObject.FindObjects Method (String)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Finds a list of objects identified by the full path.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static IList<AFObject> FindObjects( string path )
Public Shared Function FindObjects ( path As String ) As IList(Of AFObject) Dim path As String Dim returnValue As IList(Of AFObject) returnValue = AFObject.FindObjects(path)
public: static IList<AFObject^>^ FindObjects( String^ path )
static member FindObjects : path : string -> IList<AFObject>
Parameters
- path
- Type: SystemString
A string containing a fully qualified pathname. See Path Syntax for more information.
Return Value
Type: IListAFObjectReturns a list of objects identified by the full path.
Remarks
A path to an object is created by the one of the AFObjectGetPath methods and can be restored from a string using this method. A path, such as "\\MySystem\MyDatabase\MyElement|Attribute1", can be used to reference any object derived from AFObject. See Path Syntax for a complete description of the path syntax.
| The ShowExcludedAttributes setting will determine if excluded attributes are returned when finding attributes by path. |