PIPointList.LoadAttributes Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void LoadAttributes( params string[] names )
Public Sub LoadAttributes ( ParamArray names As String() ) Dim instance As PIPointList Dim names As String() instance.LoadAttributes(names)
public: void LoadAttributes( ... array<String^>^ names )
member LoadAttributes : names : string[] -> unit
Parameters
- names
- Type: SystemString
The list of PIPoint attribute names to be loaded. The PICommonPointAttributes class contains some of the common PIPoint attribute names.
Remarks
The PIPoint attribute values for the specified list of attributes and points are loaded from the
server into the client's cache. After loading, the
PIPoint.GetAttribute method can be used
to read the PIPoint attribute value. When the PIPoint attributes are no
longer needed, the UnloadAttributes(String) method or the
UnloadAllAttributes(String) method can be called
to remove the PIPoint attributes from the cache and free memory.
Beginning in AF 2.6, the LoadAttributes method will not unload previously loaded
PIPoint attributes.