|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
How to: Create JScript XML Code Comments
XML code comments are available only from referenced files, assemblies, and services.
To create XML code comments for a JScript function
Inside include summary, param, and returns elements, and precede each element with three slashes (///).
The elements must be on a single line.
The following example shows a JScript function that includes each of the three elements that is supported in XML code comments.
To view XML code comments using IntelliSense
Type the name and the opening parenthesis of a function that is marked with XML code comments, as in the following example:
var areaVal = areaFunction(
When you type the opening parenthesis of the function that contains the XML code comments, the editor uses IntelliSense to display the information that is defined in XML code comments.