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

AF SDK Reference

PIPointList.LoadAttributes Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIPointList.LoadAttributes Method
Load PIPoint attributes into the cache for each PIPoint in the list.

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.

Version Information

AFSDK


See Also

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