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

Collapse All Expand All

NameOrNum
  Required Variant that indicates which Machine object to return. It can be either a Long or a String. If it is a Long, it is the index number of the Machine object in the Machines collection. If it is a String, it is the ID of the Machine object.

# Description

Returns machine specified by name or number This returns a specific Machine object from a list of machines.

# Syntax

Visual Basic

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

# Parameters

NameOrNum
  Required Variant that indicates which Machine object to return. It can be either a Long or a String. If it is a Long, it is the index number of the Machine object in the Machines collection. If it is a String, it is the ID of the Machine object.

# Return Type

There may be several machines named "OFFLINE". To avoid possible confusion with off-line machines, use the index number with these machines. Since the Item method is the default, the function name can be omitted.

# See Also

Machines Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.