The VB compiler natively supports adding descriptions using the Description attribute. These will appear in the Object Browser and below the Properties box in the bottom right corner of the IDE, but will NOT show up in Intellisense. For this, you have to use a plug-in like VBCommenter. You can find that here[^]. An example of the Description attribute:
<Category("Appearance"), \_
Description("Set the number of LEDs to display."), \_
DefaultValue(4), \_
Bindable(True)> \_
Public Property SizeInBits() As Integer
Get
Return m\_SizeInBits
End Get
Set(ByVal NewValue As Integer)
If NewValue < 1 Or NewValue > 32 Then
Throw New ArgumentOutOfRangeException("SizeInBits", "Value must be between 1 and 32.")
Else
m\_SizeInBits = NewValue
OnSizeInBitsChanged(EventArgs.Empty)
If m_Value >= (2 ^ m_SizeInBits) Then
m_Value = 0
OnValueChanged(EventArgs.Empty)
End If
End If
End Set
End Property
RageInTheMachine9532