我的一个方法有以下XML文档段:
/// <summary>
/// Calculates the total charge for hours between the <see cref="StartDateTime"/> and <see cref="EndDateTime"/> of all all the <see cref="VehiclePresence"/> records
/// included in the date range defined by <paramref name="startDate"/> and <paramref name="endDate"/>.
/// </summary>
<see cref="StartDateTime"/>
部分呈现为[!:StartDateTime]
。我希望它呈现为VehiclePresence.StartDatetTime
属性文档的链接,就像<see cref="VehiclePresence"/>
部分呈现为VehiclePresence
类文档的链接一样。
答案 0 :(得分:12)
您可以使用
<see cref="VehiclePresence.StartDateTime"/>
引用其他命名空间中的类型