<c> (Visual Basic)

Indicates that text within a description is code.




Parameter Description
text The text you would like to indicate as code.


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

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


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
        counterValue += 1
        Return counterValue
    End Get
End Property

See Also

XML Comment Tags