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

Collapse All Expand All

NameOrNum
  Required Long that indicates which Command object to return. It is the index number of the desired Command in the Commands collection.

# Description

Returns the command object specified by name or number from the commands collection Returns a specific Command object from a Commands collection.

# Syntax

Visual Basic

    Public Function Item( _
       ByVal NameOrNum As Variant _
    ) As Command

# Parameters

NameOrNum
  Required Long that indicates which Command object to return. It is the index number of the desired Command in the Commands collection.

# Return Type

Command object.

# See Also

Commands Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.