GetAttributes Method (PointAttributes collection)

                 

 

Returns a NamedValues collection containing all the attributes in the current PointAttributes collection.

 

Syntax

object.GetAttributes

Part

Description

object

The object placeholder is an object expression that evaluates to a PointAttributes collection.

 

Remarks

The NamedValues collection returned by this method may be used as is or modified and passed to other PI-SDK methods that use NamedValues collections as arguments to manipulate PointAttributes, for example, PointAttributes.ModifyAttributes and AttributeSets.AddSet.

 

Trappable Errors

In addition to generic errors (such as Out of Memory), the following errors may occur:

Error

Description

pseCOLLECTIONPARENT

The parent of the current PointAttributes collection could not be determined.

pseATTRIBUTEFETCH

Unable to retrieve point attributes from the server.

pseATTRTYPES

Unable to retrieve attribute data types from the server.

psePTCLASSATTRIBFETCH

Unable to retrieve point class attributes from the server.

Enabling Operational Intelligence