本文介绍了XML文档问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我有两种方法:

void BeginGroup();

void BeginGroup(string msg);


当我想引用它们时,我写了

///< see cref =" BeginGroup" />


但这会导致编译器警告,我的声明含糊不清

(2个BeginGroup方法之间)。

但是如果我想把它们两个都引用呢?

与点击Console.WriteLine时的方式相同然后你会去页面列出所有可能的多态变体?

Let say I have 2 methods:
void BeginGroup();
void BeginGroup(string msg);

when I want to refer to them I write
/// <see cref="BeginGroup"/>

But this cause a compiler warning, where my declaration is ambiguous
(between the 2 BeginGroup methods).
But what if I want to refer them both?
In much the same way as when you click on "Console.WriteLine" and you go to
the page which lists all the possible polymorphic variations?

推荐答案








这篇关于XML文档问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 06:53