What does the T:
part mean in the use of the cref attribute here?
<see cref="T:System.Windows.Form.Control"/>
and
<see cref="System.Windows.Form.Control"/>
What does the T:
part mean in the use of the cref attribute here?
<see cref="T:System.Windows.Form.Control"/>
and
<see cref="System.Windows.Form.Control"/>
It's essentially an annotation to what the code reference is referring to when the compiler generates ids in the documentation. Here, the
T
indicates that the nameSystem.Windows.Form.Control
that's being referenced is a type and not a namespace or other member.On its own, the text
System.Windows.Form.Control
could have different meanings. It could be a namespace for instance, or theControl
member of aSystem.Windows.Form
object. This helps describe what exactly it is.You can see more information on the other conventions the compiler uses in the docs.
The other prefixes are as follows: