📅  最后修改于: 2022-03-11 14:51:53.053000             🧑  作者: Mango
Dim Valor As Integer = 0
If Not (ConfigurationSettings.AppSettings(chave) Is Nothing) Then
Try
Valor = Convert.ToInt32(ConfigurationSettings.AppSettings("Max"))
Catch e As Exception
//tratamento da exceção
End Try
End If