В моем приложении у меня есть
Открытый класс HomeIndexClientModel
Я объявляю эти свойства:
Public strButtonBarProblemGuid() As String
Public strButtonBarProblemTitle() As String
Public strButtonBarButtonToRender() As String
В моем Sub New у меня есть цикл в моем Linq, где происходит следующее:
ReDim Preserve Me.strButtonBarButtonToRender(intButtonCount) 'set the size of the button bar array
ReDim Preserve Me.strButtonBarProblemTitle(intButtonCount) 'set the size of the button bar array
ReDim Preserve Me.strButtonBarButtonToRender(intButtonCount) 'set the size of the button bar array
Если я последую этому с
Me.strButtonBarProblemGuid (intButtonCount - 1) = "AA" 'p.SystemUserFileId.ToString
Я получаю ошибку.
Я пробовал возиться с индексом 0 или 1 в смещении массива, но оба не удаются одинаково
Заранее спасибо.