VersionControlAnnotateExt.AnnotateFile Method
Annotate the specified file.
Namespace: Microsoft.VisualStudio.TeamFoundation.VersionControl
Assembly: Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)
Syntax
'Declaration
Public Function AnnotateFile ( _
itemPath As String, _
version As VersionSpec, _
deletionId As Integer, _
focusedLine As Integer _
) As VersionControlAnnotate
public VersionControlAnnotate AnnotateFile(
string itemPath,
VersionSpec version,
int deletionId,
int focusedLine
)
public:
VersionControlAnnotate^ AnnotateFile(
String^ itemPath,
VersionSpec^ version,
int deletionId,
int focusedLine
)
member AnnotateFile :
itemPath:string *
version:VersionSpec *
deletionId:int *
focusedLine:int -> VersionControlAnnotate
public function AnnotateFile(
itemPath : String,
version : VersionSpec,
deletionId : int,
focusedLine : int
) : VersionControlAnnotate
Parameters
itemPath
Type: System.StringItem path
version
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecItem version
deletionId
Type: System.Int32Item deletion ID
focusedLine
Type: System.Int32Line that will be focused in the editor (0 for default)
Return Value
Type: Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlAnnotate
Returns VersionControlAnnotate.
.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.
See Also
Reference
VersionControlAnnotateExt Class
Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace