PIPoint.GetStateSet Method
- Last UpdatedNov 18, 2025
- 1 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets the AFEnumerationSet for the Digital State Set
associated with the PIPoint.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFEnumerationSet GetStateSet()
Public Function GetStateSet As AFEnumerationSet Dim instance As PIPoint Dim returnValue As AFEnumerationSet returnValue = instance.GetStateSet()
public: AFEnumerationSet^ GetStateSet()
member GetStateSet : unit -> AFEnumerationSet
Return Value
Type: AFEnumerationSetReturns the AFEnumerationSet for the Digital State Set associated with the PIPoint. If the PIPoint is not associated with a DigitalStateSet, then is returned.