PrecursorIon.Clear
Resets all variables to 0.
Remarks
FragmentationMethod is reset to FragmentationType.None.
Syntax
| Syntax | Description |
|---|---|
| Clear() | Resets all variables to 0. |
Example
1
2
3
4
5
using Nova.Data;
PrecursorIon precursor = new PrecursorIon(652.3412, 1.2e6, 2);
precursor.Clear();
Console.WriteLine(precursor.MonoisotopicMz); // 0
This post is licensed under CC BY 4.0 by the author.