共用方式為


DiscussionThreadsController.GetThreadsByWorkItemId 方法

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

語法

'宣告
<ClientResponseTypeAttribute(GetType(DiscussionThreadCollection), Nothing, Nothing)> _
Public Function GetThreadsByWorkItemId ( _
    workItemId As Integer _
) As List(Of DiscussionThread)
[ClientResponseTypeAttribute(typeof(DiscussionThreadCollection), null, null)]
public List<DiscussionThread> GetThreadsByWorkItemId(
    int workItemId
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

DiscussionThreadsController 類別

Microsoft.TeamFoundation.Discussion.Server 命名空間