Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

IPens​._NewEnum [Property][Get]

  • Last UpdatedJul 18, 2023
  • 1 minute read

This allows For.. Each.. Next integration in VB.

Calling Syntax

This example assumes there is a valid Pens collection object to be passed into the example methods. This property is not applicable to Cicode.

[VBA]

Sub Example(Pens As Object)
Dim pen As Object
Dim count As Long
`Using Property
For Each pen In Pens
count = count + 1
Next pen
End Sub

Related Links
TitleResults for “How to create a CRG?”Also Available in