私が書いている Web モジュールには多くの配列があり、時間が経つにつれてさらに追加する予定です。すべての配列を動的に列挙して、それらを検索および更新したいと考えています。これは可能ですか?以下のコードのスニペット:
Private EMASCFee() As String = {0, 1, "12345679", "MASC Debt SetOff Fees"}
Private EMSPen() As String = {2, 3, "987654312", "Medicare EMS Late Penalties"}
Private Beach() As String = {4, 5, "110022233", "Beach Services"}
Private allCodes() As Array 'Holds all Codes Arrays
Private Sub addArrays()
'Adds all Codes String Arrays together into 1 Array *** Add NEW string arrays to the end of allCodes ***
allCodes = {EMASCFee, EMSPen, Beach}
End Sub
私がやりたいことは次のようなものです:
Private EMASCFee() As String = {0, 1, "12345679", "MASC Debt SetOff Fees"}
Private EMSPen() As String = {2, 3, "987654312", "Medicare EMS Late Penalties"}
Private Beach() As String = {4, 5, "110022233", "Beach Services"}
Private allCodes() As Array 'Holds all Codes Arrays
Private Sub addArrays()
For each myArray as Array in ModuleName
allCodes = {allCodes, myArray}
Next
End Sub