OS_Pizza
2 years agoContributor III
Dictonary variable
I want to update the parameter of my dictonary . How can i achieve it? .add adds the value in the dictonary. Is there any update function to update the value of that key in dictonary
Dim params2 As New Dictionary(Of String, String)
params2.Add("Entity_param_db","E001" )
For Each MemberOfList As MemberInfo In Nonstreamproduct
params2.Add("Entity_param_db",MemberOfList.Member.Name)
BRApi.Utilities.StartDataMgmtSequence(si,dataMgmtSeq2, params2)
Next
Two ways:
' Explicit myDict.Item("myKey") = newValue ' Shortcut myDict("myKey") = newValue
For more help, have a look at the official documentation from Microsoft.