Repository.QueryAnnotation Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Декларация
<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.String
- annotatedItem
Type: System.String
- version
Type: System.Int32
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.