<c> (Visual Basic)
Indicates that text within a description is code.
Syntax
<c>text</c>
Parameters
Parameter | Description |
---|---|
text |
The text you would like to indicate as code. |
Remarks
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.
Example
This example uses the <c>
tag in the summary section to indicate that Counter
is code.
''' <summary>
''' Resets the value of 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
See also
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.