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
Copy file name to clipboardExpand all lines: docs/docs/links-and-cross-references.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,6 +178,8 @@ You can create a cross link with following options:
178
178
-`displayProperty`: the property of display text when the cross reference is has resolved correctly.
179
179
180
180
e.g.: `<a href="xref:System.String?displayProperty=fullName"/>` will be resolved as <ahref="xref:System.String?displayProperty=fullName"/>.
181
+
182
+
e.g.: `<a href="xref:System.String.Length?displayProperty=nameWithType"/>` will be resolved as <ahref="xref:System.String.Length?displayProperty=nameWithType"/>.
181
183
-`altProperty`: the property of display text when the cross reference does not have a `href` property.
182
184
183
185
e.g.: ``<xref href="System.Collections.Immutable.ImmutableArray`1" altProperty="name"/>`` will be resolved as <xrefhref="System.Collections.Immutable.ImmutableArray`1"altProperty="name"/>.
0 commit comments