如何在智能感知在Visual Studio功能评论? [英] How to have comments in IntelliSense for function in Visual Studio?

查看:142
本文介绍了如何在智能感知在Visual Studio功能评论?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio和C#,当使用一个内置的功能,如toString(),智能感知显示一个黄色的盒子解释它做什么。

In Visual Studio and C#, when using a built in function such as ToString(), IntelliSense shows a yellow box explaining what it does.


如何可以我有对功能和性能我写?

推荐答案

要生成,你可以指定功能的描述和每个参数的功能的区域,你的函数前输入就行以下,并按<大骨节病>输入

To generate an area where you can specify a description for the function and each parameter for the function, type the following on the line before your function and hit Enter:


  • C#: ///

VB: '''

这篇关于如何在智能感知在Visual Studio功能评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆