Share via


TswaHyperlinkBuilder.GetAnnotateSourceControlItemUrl Method (String, String)

Gets an annotate item URL.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Function GetAnnotateSourceControlItemUrl ( _
    serverItemPath As String, _
    versionSpec As String _
) As Uri
public Uri GetAnnotateSourceControlItemUrl(
    string serverItemPath,
    string versionSpec
)
public:
Uri^ GetAnnotateSourceControlItemUrl(
    String^ serverItemPath, 
    String^ versionSpec
)
member GetAnnotateSourceControlItemUrl : 
        serverItemPath:string * 
        versionSpec:string -> Uri
public function GetAnnotateSourceControlItemUrl(
    serverItemPath : String, 
    versionSpec : String
) : Uri

Parameters

  • versionSpec
    Type: System.String

    A server item version specification.

Return Value

Type: System.Uri
An annotate server item URL.

Remarks

versionSpec can be one of the following:

  • Empty | null

  • Latest version integer is less than 1

  • Latest version integer greater than or equal to 1

  • Changeset number C{changesetNumber}, L{Label}, D{Date} T

  • Latest version T{VersionSpec}

  • Tip version of the item at the version specified by VersionSpec

  • P{VersionSpec}: The previous version of the item at the version specified by VersionSpec.

.NET Framework Security

See Also

Reference

TswaHyperlinkBuilder Class

GetAnnotateSourceControlItemUrl Overload

Microsoft.TeamFoundation.Common Namespace