Yes - I just found it.
It might be useful for others to know that you need to use:
foreach (AForge.Neuro.ActivationNeuron neuron in network.Layer.Neurons)
not just "var" like:
foreach (var neuron in network.Layer.Neurons)
Because var version does not show Threshold property.