C# 如何在XML文档中为方法引用其他类型的成员?

C# 如何在XML文档中为方法引用其他类型的成员?,c#,documentation,sandcastle,xml-documentation,C#,Documentation,Sandcastle,Xml Documentation,我的一个方法上有以下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

我的一个方法上有以下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>
//
///计算所有记录的和之间小时的总费用
///包含在和定义的日期范围内。
/// 
部件呈现为
[!:StartDateTime]
。我更喜欢将其呈现为指向
VehiclePresence.startdatetime
属性文档的链接,就像
部分呈现为指向
VehiclePresence
类文档的链接一样

您可以使用

<see cref="VehiclePresence.StartDateTime"/>


要引用其他名称空间中的类型

您是否尝试过
?@Carko,事实上我尝试过,但几天前。只是可能我忘记了包含其他项目的帮助源,但现在它可以正常工作了。谢谢