Template:APIComment/documentation: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) (Created page with '__NOTOC__<div style="background-color: #DBE9F4;"> ={{Font|Template Documentation|16|Calibri|bold|black}}= This template is for use with the Synthesis API reference documentat…') |
Kate Racaza (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
={{Font|Template Documentation|16|Calibri|bold|black}}= | ={{Font|Template Documentation|16|Calibri|bold|black}}= | ||
This template is for | This template is a part of a series of templates used as syntax highlighters for the code samples in the Synthesis [[API Reference Documentation]]. | ||
The other templates in this series are: | |||
*[[Template:APIPrefix]] | |||
*[[Template:APIString]] | |||
==Usage== | ==Usage== | ||
Here's an example of how to use | Here's an example of how to use this series of templates: | ||
<pre>{{APIComment|' | <pre>{{APIComment|'Declare a new Repository object and connect to a Synthesis repository.}} | ||
{{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository | |||
MyRepository.ConnectToAccessRepository({{APIString|"C:\RSRepository1.rsr10"}})</pre> | |||
The output is displayed as follows: | The output is displayed as follows: | ||
<div style="background-color: #E6E6E6;"> | |||
{{APIComment|' | {{APIComment|'Declare a new Repository object and connect to a Synthesis repository.}}<br> | ||
{{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository <br> | |||
MyRepository.ConnectToAccessRepository({{APIString|"C:\RSRepository1.rsr10"}}) | |||
</div> | |||
Latest revision as of 16:42, 5 May 2016
Template Documentation
This template is a part of a series of templates used as syntax highlighters for the code samples in the Synthesis API Reference Documentation.
The other templates in this series are:
Usage
Here's an example of how to use this series of templates:
{{APIComment|'Declare a new Repository object and connect to a Synthesis repository.}} {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository MyRepository.ConnectToAccessRepository({{APIString|"C:\RSRepository1.rsr10"}})
The output is displayed as follows:
'Declare a new Repository object and connect to a Synthesis repository.
Dim MyRepository As New Repository
MyRepository.ConnectToAccessRepository("C:\RSRepository1.rsr10")