Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
PCDLRN ActiveX DLL > PartProgram Object : GetStringArray Method
GetStringArray Method
Description
Creates an array of strings.
Syntax
Visual Basic
Public Function GetStringArray() As StringArray
Return Type
Returns a StringArray object with the array of strings.
Example
This example creates a string array with four elements.
var stringArray = part.GetStringArray();
    stringArray.SetSize(4);
    stringArray.SetValue(1, "OP10");
    stringArray.SetValue(2, "MiniRoutine2");
    stringArray.SetValue(3, "MiniRoutine3");
    stringArray.SetValue(4, "MiniRoutine4");
See Also