Compartilhar via


<c> (Visual Basic)

Indicates that text within a description is code.

<c>text</c>

Parâmetros

Parameter

Description

text

The text you would like to indicate as code.

Comentários

The <c> tag gives you a way to indicate that text within a description should be marked as code. Use <código> (Visual Basic) to indicate multiple lines as code.

Compile with /doc to process documentation comments to a file.

Exemplo

This example uses the <c> tag in the summary section to indicate that Counter is code.

''' <summary>
''' Resets the value the <c>Counter</c> field.
''' </summary>
Public Sub ResetCounter()
    counterValue = 0
End Sub
Private counterValue As Integer = 0
''' <summary>
''' Returns the number of times Counter was called.
''' </summary>
''' <value>Number of times Counter was called.</value>
Public ReadOnly Property Counter() As Integer
    Get
        counterValue += 1
        Return counterValue
    End Get
End Property

Consulte também

Referência

Recomendado marcas XML para comentários da documentação (Visual Basic)