且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在winmd文件中添加注释?

更新时间:2023-12-01 09:08:58

嗨Kenny,

Hi Kenny,

在属性或函数上面只需添加如下摘要标记:

Above the property or function simply add the summary tag like this:

  public sealed class Class1
    {
        /// <summary>
        /// This is a cool function
        /// </summary>
        public void myCoolFunc()
        {
        }
    }

这将导致该描述显示在对象浏览器中智慧。

This will cause that description to show in the object browser and intelli-sense.

杰夫