方法文档使用 param 注释并返回元素

/// <summary>
/// Returns the data for the specified ID and timestamp.
/// </summary>
/// <param name="id">The ID for which to get data. </param>
/// <param name="time">The DateTime for which to get data. </param>
/// <returns>A DataClass instance with the result. </returns>
public DataClass GetData(int id, DateTime time)
{
   // ...
}

IntelliSense 显示每个参数的说明:

StackOverflow 文档

提示:如果 Intellisense 未在 Visual Studio 中显示,请删除第一个括号或逗号,然后再次键入。