M
merco
hi,
i have a System.Collections.Generic.Dictionary
Is it possibile to visit it using an index way like:
Private D_Materiali As New System.Collections.Generic.Dictionary(Of
String, DB_Intervento_Materiale)
Dim M As DB_Intervento_Materiale
Dim I As Long
For I = 0 To D_Materiali.Count - 1
M = D_Materiali(I)
D_TotaleCosto = D_TotaleCosto + M.CostoTotale
Next
If not, how can i change the type of the collection to get this code
working ?
....anyway the debugger let me visit the collectio using the ordinal,...
i have a System.Collections.Generic.Dictionary
Is it possibile to visit it using an index way like:
Private D_Materiali As New System.Collections.Generic.Dictionary(Of
String, DB_Intervento_Materiale)
Dim M As DB_Intervento_Materiale
Dim I As Long
For I = 0 To D_Materiali.Count - 1
M = D_Materiali(I)
D_TotaleCosto = D_TotaleCosto + M.CostoTotale
Next
If not, how can i change the type of the collection to get this code
working ?
....anyway the debugger let me visit the collectio using the ordinal,...