You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Learn more about: <typeparamref> (Visual Basic)"
3
+
title: "<typeparamref>"
4
+
ms.date: 09/10/2025
5
+
helpviewer_keywords:
6
+
- "typeparamref XML tag"
7
+
- "<typeparamref> XML tag"
8
+
ai-usage: ai-assisted
9
+
---
10
+
# \<typeparamref> (Visual Basic)
11
+
12
+
Formats a word as a type parameter.
13
+
14
+
## Syntax
15
+
16
+
```xml
17
+
<typeparamrefname="name"/>
18
+
```
19
+
20
+
## Parameters
21
+
22
+
`name`: The name of the type parameter to refer to. Enclose the name in double quotation marks (" ").
23
+
24
+
## Remarks
25
+
26
+
The `<typeparamref>` tag gives you a way to indicate that a word is a type parameter. The XML file can be processed to format this type parameter in some distinct way, for example in italics.
27
+
28
+
Compile with [-doc](../../reference/command-line-compiler/doc.md) to process documentation comments to a file.
29
+
30
+
## Example
31
+
32
+
This example uses the `<typeparamref>` tag to refer to the `T` type parameter.
0 commit comments