Value Method (PIModuleVersionList object)

             

The Item property retrieves a member from the collection by name or time stamp. The property is Read-Only.

 

Syntax

object[.Item](index)

The Item property syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

index

An expression that specifies a member of the collection, as described in Settings.

 

Settings

The settings for index are:

Setting

Description (collections implementing setting)

position number

Specifies the position number of a member of the collection. Must range from 1 to the value of the collection's Count property.

time stamp

The VARIANT may be a PITime, DATE, String, or numeric. Interpretation of DATE, strings and numerics is consistent with PITime's interpretation.

 

Remarks

The Item property is the default property of the collection, so these expressions have the same meaning:

MyColl.Item(3)

MyColl(3)

A PIModuleVersionList has items in it that all have the same name and UniqueID.

Enabling Operational Intelligence