I think this is correct first add this "using UnityEngine.Rendering.PostProcessing;" then in the code put this "
public PostProcessVolume postProcessVolume;
private Vignette vignette;
private void Start()
{
postProcessVolume.profile.TryGetSettings(out vignette);
}"