Partager via


TeamFoundationVersionControlService.QueryAnnotation, méthode

Obtenez un jeu d'annotations qui correspondent au filtre fourni.

Espace de noms :  Microsoft.TeamFoundation.VersionControl.Server
Assembly :  Microsoft.TeamFoundation.VersionControl.Server (dans Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntaxe

'Déclaration
Public Function QueryAnnotation ( _
    requestContext As TeamFoundationRequestContext, _
    annotationName As String, _
    annotatedItem As String, _
    version As Integer _
) As List(Of Annotation)
public List<Annotation> QueryAnnotation(
    TeamFoundationRequestContext requestContext,
    string annotationName,
    string annotatedItem,
    int version
)

Paramètres

  • annotationName
    Type : System.String
    Nom de l'annotation à retourner.
  • annotatedItem
    Type : System.String
    Filtrer les annotations définies sur cet élément.
  • version
    Type : System.Int32
    Filtrer uniquement à ceux associés à cette version (annotatedItem requis).

Valeur de retour

Type : System.Collections.Generic.List<Annotation>
Jeu d'annotations ayant la requête.

Sécurité .NET Framework

Voir aussi

Référence

TeamFoundationVersionControlService Classe

Microsoft.TeamFoundation.VersionControl.Server, espace de noms