如何在C#注释中引用类的索引器成员 [英] How to reference an indexer member of a class in C# comments
本文介绍了如何在C#注释中引用类的索引器成员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为了引用XML注释/文档中的类的成员,您必须使用以下标记:
In order to reference a member of a class in XML comments/documentation, you have to use the following tag:
<see cref="member"/>
更好地解释了 here 。
如何引用索引器?
How do you reference an indexer?
我的意思是,像这样的成员:
I mean, a member like this one:
internal object this[ int index ] {
...
}
提前感谢
推荐答案
<see cref="P:System.Collections.ArrayList.Item(System.Int32)" />
这篇关于如何在C#注释中引用类的索引器成员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文