Freigeben über


Repository.CreateAnnotation Method

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub CreateAnnotation ( _
    AnnotationName As String, _
    AnnotatedItem As String, _
    Version As Integer, _
    AnnotationValue As String, _
    Comment As String, _
    Overwrite As Boolean _
)
[WebMethodAttribute]
public void CreateAnnotation(
    string AnnotationName,
    string AnnotatedItem,
    int Version,
    string AnnotationValue,
    string Comment,
    bool Overwrite
)
[WebMethodAttribute]
public:
void CreateAnnotation(
    String^ AnnotationName, 
    String^ AnnotatedItem, 
    int Version, 
    String^ AnnotationValue, 
    String^ Comment, 
    bool Overwrite
)
[<WebMethodAttribute>]
member CreateAnnotation : 
        AnnotationName:string * 
        AnnotatedItem:string * 
        Version:int * 
        AnnotationValue:string * 
        Comment:string * 
        Overwrite:bool -> unit 
public function CreateAnnotation(
    AnnotationName : String, 
    AnnotatedItem : String, 
    Version : int, 
    AnnotationValue : String, 
    Comment : String, 
    Overwrite : boolean
)

Parameters

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace