Visual Basic documentation uses the following typographic and code conventions.
||Language-specific keywords and runtime members have initial uppercase letters and are formatted as shown in this example.|
|SmallProject, ButtonCollection||Words and phrases you are instructed to type are formatted as shown in this example.|
|Module Statement||Links you can click to go to another Help page are formatted as shown in this example.|
||Placeholders for information that you supply are formatted as shown in this example.|
|[ Shadows ], [ expressionList ]||In syntax, optional items are enclosed in brackets.|
||In syntax, when you must make a choice between two or more items, the items are enclosed in braces and separated by vertical bars.
You must select one, and only one, of the items.
||In syntax, when you have the option of selecting between two or more items, the items are enclosed in square brackets and separated by vertical bars.
You can select any combination of the items, or no item.
||In syntax, when you can select no more than one item, but you can also omit the items completely, the items are enclosed in square brackets surrounded by braces and separated by vertical bars.|
|memberName1, memberName2, memberName3||Multiple instances of the same placeholder are differentiated by subscripts, as shown in the example.|
|In syntax, an ellipsis (...) is used to indicate an indefinite number of items of the kind immediately in front of the ellipsis.
In code, ellipses signify code omitted for the sake of clarity.
|ESC, ENTER||Key names and key sequences on the keyboard appear in all uppercase letters.|
|ALT+F1||When plus signs (+) appear between key names, you must hold down one key while pressing the other. For example, ALT+F1 means hold down the ALT key while pressing the F1 key.|
||Code samples appear in a fixed-pitch font and are formatted as shown in this example.|
|The previous statement sets the value of
||Code elements in explanatory text appear in a fixed-pitch font, as shown in this example.|
||Code comments are introduced by an apostrophe (') or the REM keyword.|
||A space followed by an underscore ( _) at the end of a line indicates that the statement continues on the following line.|