Repository.QueryAnnotation Method
Query annotation associated with the given item.
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
annotationName
Type: System.StringName of the annotation.
annotatedItem
Type: System.StringServer item specification.
version
Type: System.Int32Version of the annotatedItem.
Return Value
Type: System.Collections.Generic.List<Annotation>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.