Note: This is a copy of this question but for Visual Basic instead C#.
When writing XML documentation you can use <see cref="something">something</see>
, which works of course. But how do you reference a class or a method with generic types?
Public Class FancyClass(Of T)
Public Function FancyMethod(value As T) As String
Return "something fancy"
End Function
End Class
If I was going to write xml documentation somewhere, how would I reference the fancy class? how can I reference a FancyClass(Of String)
? What about the method?
For example in a different class I wanted to let the user know that I will return an instance of FancyClass(Of Integer)
. How could I make a see cref
thing for that?