如何在 Visual Basic 中的 XML 注释中引用构造函数?

How do I reference a constructor in an XML comment in Visual Basic?

假设我有以下代码:

Public Sub New(num As Integer)

End Sub

''' <summary>
''' <see cref=""/>
''' </summary>
Public Sub DoSomething()

End Sub

我在 cref="" 中的引号之间放什么来引用 New(Integer)

New(Integer) 就足够了:

''' <summary>
''' <see cref="New(Integer)">
''' </summary>
Public Sub DoSomething()

End Sub

如果将鼠标悬停在上面,您会看到 Visual Studio 正确解释了它: