<code> (Visual Basic)
Indicates that the text is multiple lines of code.
Syntax
<code>content</code>
Parameters
content
The text to mark as code.
Remarks
Use the <code>
tag to indicate multiple lines as code. Use <c> to indicate that text within a description should be marked as code.
Compile with -doc to process documentation comments to a file.
Example
This example uses the <code> tag to include example code for using the ID
field.
Public Class Employee
''' <remarks>
''' <example> This sample shows how to set the <c>ID</c> field.
''' <code>
''' Dim alice As New Employee
''' alice.ID = 1234
''' </code>
''' </example>
''' </remarks>
Public ID As Integer
End Class
See also
Bendradarbiaukite su mumis dirbdami „GitHub“
Šio turinio šaltinį galima rasti „GitHub“, kur taip pat galite kurti ir peržiūrėti problemas bei teikti užklausas. Daugiau informacijos žr. mūsų bendraautorių vadove.