NextValue Method (IPIVersion interface)

             

Returns the next value of an object as an object:  the value newer than the owner value.

 

Syntax

object.NextValue

The NextValue method syntax has these parts:

Part

Description

object

An object expression that evaluates to a IPIVersion object.

 

Remarks

Returns the next newer value of the owner object. If owner object is the newest value, an error is returned.

 

The IPIVersion interface may be supported by any PI-SDK object. The results are returned as an IUnknown object to support this abstraction. Currently, only PIModule supports this interface. The result in this case is a PIModule.

 

Trappable Errors

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

Error

Description

psePIVERSIONNEXTVALUE

There was an error getting the next value. Most likely this is because the owner object is the newest value.

Enabling Operational Intelligence