PC-DMIS 2021.2 Object Library
Item Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
NameOrNumber
Required Variant that indicates which ReportTemplates object to return. It can be either a Long or a String. If it is a Long, it is the index number of the ReportTemplate object in the ReportTemplates collection. If it is a String, it is the ID of the ReportTemplate object.
PCDLRN ActiveX DLL > ReportTemplates Object : Item Method

Glossary Item Box

Description

The Item function returns the ReportTemplate Object with the given name or number.

Syntax

Visual Basic
Public Function Item( _
   ByVal NameOrNumber As Variant _
) As ReportTemplate

Parameters

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

Return Type

ReportTemplate object.

Remarks

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

See Also

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