PC-DMIS 2019 R2 Object Library
SetValue Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
ArrayPosition
Defines the items position in the array to take the value.
NewValue
Defines the string value for the item in the array.
PCDLRN ActiveX DLL > StringArray Object : SetValue Method

Glossary Item Box

Description

This method assigns a string value to one of the items in the array.

Syntax

Visual Basic
Public Sub SetValue( _
   ByVal ArrayPosition As Long, _
   ByVal NewValue As String _
) 

Parameters

ArrayPosition
Defines the items position in the array to take the value.
NewValue
Defines the string value for the item in the array.

Example

For an example, see the GetStringArray method in the PartProgram object.

See Also

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