User-1174608757 posted
Hi wavemaster,
According to your description, you could just use foreach to loop all the dictionary. You could loop the value of myConnectedClients then you could get attribute keyvalHasExistingManual. Here is a demo ,I hope it could help you.
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Dictionary<string, myClient> myConnectedClients = new Dictionary<string, myClient>();
foreach (var item in myConnectedClients.Values)
{
if (item.keyvalHasExistingManual == true)
{
}
else
{
}
}
}
}
public class myClient
{
public string keyvalLocType { get; set; }
public bool keyvalHasExistingManual { get; set; }
}
Best Regards
Wei