Collapse All Expand All

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

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

PCDLRN ActiveX DLL > PartPrograms Object : Item Method

Glossary Item Box

# Description

Returns a specific PartProgram object from the collection in the PartPrograms object.

# Syntax

Visual Basic
    Public Function Item( _
       ByVal NameorNum As Variant _
    ) As PartProgram

# Parameters

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

# Return Type

PartProgram object.

# Remarks

Since the Item method is the default, the function name can be omitted if desired.

# See Also

PartPrograms Object | PartPrograms Members

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