我可以替换<see cref =“”>文档标签的值吗?

时间:2018-08-10 08:14:00

标签: c# .net visual-studio xml-documentation

在c#中使用标签时,是否可以更改显示的字符串?我想做这样的事情:

/// <summary>
/// Do some magic on the <see cref="String">provided text</see>.
/// </summary>
public void SomeMethod(String param)
{
    // Whatever
}

让开发人员看到

  

provided text

上做一些魔术

,但是在单击时可以重定向到String类。

以下是显示我的问题的图像:

enter image description here

1 个答案:

答案 0 :(得分:1)

好吧,目前尚不可能,因为documentation中没有对此进行描述,但是此功能 supported in the past

我在C# Language Design repository over at GitHub处创建了一个提案,并且可以在here找到类似功能的提案。希望将来会支持!

相关问题