共用方式為


ITeamFoundationDiscussionService.QueryDiscussionsByArtifactUri 方法 (TeamFoundationRequestContext, String, List<DiscussionComment>%)

命名空間:  Microsoft.TeamFoundation.Discussion.Server
組件:  Microsoft.TeamFoundation.Discussion.Server (在 Microsoft.TeamFoundation.Discussion.Server.dll 中)

語法

'宣告
Function QueryDiscussionsByArtifactUri ( _
    requestContext As TeamFoundationRequestContext, _
    artifactUri As String, _
    <OutAttribute> ByRef comments As List(Of DiscussionComment) _
) As List(Of DiscussionThread)
List<DiscussionThread> QueryDiscussionsByArtifactUri(
    TeamFoundationRequestContext requestContext,
    string artifactUri,
    out List<DiscussionComment> comments
)

參數

傳回值

類型:System.Collections.Generic.List<DiscussionThread>

.NET Framework 安全性

請參閱

參考

ITeamFoundationDiscussionService 介面

QueryDiscussionsByArtifactUri 多載

Microsoft.TeamFoundation.Discussion.Server 命名空間