Collapse All Expand All

PC-DMIS 2019 R1 Object Library |
Item Method
See Also Send Topic Feedback | See Object Hierarchy Chart

Num
  Required Long value that indicates which executed command to return. This is the index number of the executed command in the ExecutedCommands collection. For example, if you pass 5 in, the 5th command to execute from the last execution would be returned.

PCDLRN ActiveX DLL > ExecutedCommands Object : Item Method

Glossary Item Box

# Description

The Item method returns the executed command specified by the provided index number in Num.

# Syntax

Visual Basic
    Public Function Item( _
       ByVal Num As Long _
    ) As Command

# Parameters

Num
  Required Long value that indicates which executed command to return. This is the index number of the executed command in the ExecutedCommands collection. For example, if you pass 5 in, the 5th command to execute from the last execution would be returned.

# Return Type

Command object.

# See Also

ExecutedCommands Object | ExecutedCommands Members

Copyright © 2019. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.