如果我编写函数:
public static uint FindAUint(double firstParam)
{
}
我可以通过键入“///”来生成 xml 注释,它给出:
/// <summary>
/// *Here I type the summary of the method*
/// </summary>
/// <param name="firstParam">*Summary of param*</param>
/// <returns>*Summary of return*</returns>
public static uint FindAUint(double firstParam)
{
}
如果我决定我需要将我的方法更新为:
/// <summary>
/// *Here I type the summary of the method*
/// </summary>
/// <param name="firstParam">*Summary of param*</param>
/// <returns>*Summary of return*</returns>
public static uint FindAUint(double firstParam,double newParam, double newParam2)
{
}
有没有办法让 Visual Studio 将新参数添加到 xml 中而不会丢失以前的描述?
(我应该提到我正在使用 Visual Studio Express;不过,我不会让微软在 Express 版本中禁止该功能)