PC-Dmis 2010 MR2 Object Library | Send comments on this topic. | See Object Hierarchy Chart
Item Method
See Also

Collapse All Expand All

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.

# Description

Returns the nth command from the last execution 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

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.