共用方式為


XML Documentation Comments (JavaScript)

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

In JavaScript you can create documentation for your code by including XML tags in special comment fields in the source code. These XML tags are used by IntelliSense to provide information about JavaScript objects.

The location of the code comments varies depending on the specific tag.

The following tags are supported:

See Also

JavaScript IntelliSense