PC-DMIS 2019 R2 Object Library
Remove Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
NameOrNumber
Required Variant that indicates which Section object to remove. It can be either a Long or a String. If it is a Long, it is the index number of the Section object in the Sections collection. If it is a String, it is the ID, or name, of the Section object.
PCDLRN ActiveX DLL > Sections Object : Remove Method

Glossary Item Box

Description

This method removes or deletes the Section object identified by the NameOrNum parameter.

Syntax

Visual Basic
Public Function Remove( _
   ByVal NameOrNumber As Variant _
) As Boolean

Parameters

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

Return Type

Boolean value that determines whether or not the specified section was removed. If True then the section was removed. If False then the section either remained or didn't exist in the first place.

See Also

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