共用方式為


Repository.QueryAnnotation 方法

查詢附註與特定項目。

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

語法

'宣告
<WebMethodAttribute> _
Public Function QueryAnnotation ( _
    annotationName As String, _
    annotatedItem As String, _
    version As Integer _
) As List(Of Annotation)
[WebMethodAttribute]
public List<Annotation> QueryAnnotation(
    string annotationName,
    string annotatedItem,
    int version
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

Repository 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間