【发布时间】:2013-07-04 09:02:22
【问题描述】:
我有这样的方法:
/// <summary>
/// Gets a typed Dictionary of <see cref="T:System.Collections.Generic.Dictionary`2"/>
/// </summary>
/// <returns></returns>
public Dictionary<string, object> ToDictionary()
当我调用此方法并查看智能感知时,它显示它返回 Dictionary<TKey,TValue>
智能感知有没有办法显示Dictionary<string, object>
我尝试了以下方法,但失败了:
<see cref="System.Collections.Generic.Dictionary`2[System.String,System.Object]"/>
这是我看到的:
【问题讨论】:
-
但它确实如您所愿在弹出窗口中显示
Dictionary<string, object>? -
是的,它只是智能感知中显示 Dictionary
的注释位
标签: c# .net visual-studio xml-comments