PIConstants Collection

                    

 

The PIConstants collection is provided to allow an application to display strings that map to PI-SDK enumerated constants, especially for selection and to retrieve the constant associated with a selected string. The PIConstants collection contains PIConstant collections, one for each enumeration. A PIConstant collection contains members, stored and accessed as NamedValue objects that represent the display string (the name) and the constant (the value).

 

The PIConstants collection is available as a property of the PISDK application object.

 

The PIConstants collection's Item property returns PIConstant collections for the requested enumeration.

Enabling Operational Intelligence