Share via


Repository.QueryAnnotation Method

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
<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
)
[WebMethodAttribute]
public:
List<Annotation^>^ QueryAnnotation(
    String^ annotationName, 
    String^ annotatedItem, 
    int version
)
[<WebMethodAttribute>]
member QueryAnnotation : 
        annotationName:string * 
        annotatedItem:string * 
        version:int -> List<Annotation> 
public function QueryAnnotation(
    annotationName : String, 
    annotatedItem : String, 
    version : int
) : List<Annotation>

Parameters

Return Value

Type: System.Collections.Generic.List<Annotation>

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace