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
Tindicates that the nameSystem.Windows.Form.Controlthat's being referenced is a type and not a namespace or other member.On its own, the text
System.Windows.Form.Controlcould have different meanings. It could be a namespace for instance, or theControlmember of aSystem.Windows.Formobject. 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: