Delen via


TswaHyperlinkBuilder.GetDifferenceSourceControlItemsUrl Method (String, String, String, String)

Gets a URL for a diff tool.

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

Syntax

'Declaration
Public Function GetDifferenceSourceControlItemsUrl ( _
    originalItemServerPath As String, _
    originalItemVersionSpec As String, _
    modifiedItemServerPath As String, _
    modifiedItemVersionSpec As String _
) As Uri
public Uri GetDifferenceSourceControlItemsUrl(
    string originalItemServerPath,
    string originalItemVersionSpec,
    string modifiedItemServerPath,
    string modifiedItemVersionSpec
)
public:
Uri^ GetDifferenceSourceControlItemsUrl(
    String^ originalItemServerPath, 
    String^ originalItemVersionSpec, 
    String^ modifiedItemServerPath, 
    String^ modifiedItemVersionSpec
)
member GetDifferenceSourceControlItemsUrl : 
        originalItemServerPath:string * 
        originalItemVersionSpec:string * 
        modifiedItemServerPath:string * 
        modifiedItemVersionSpec:string -> Uri
public function GetDifferenceSourceControlItemsUrl(
    originalItemServerPath : String, 
    originalItemVersionSpec : String, 
    modifiedItemServerPath : String, 
    modifiedItemVersionSpec : String
) : Uri

Parameters

  • originalItemServerPath
    Type: System.String

    An original item server path.

  • originalItemVersionSpec
    Type: System.String

    An original version specification.

  • modifiedItemServerPath
    Type: System.String

    A modified item server path.

  • modifiedItemVersionSpec
    Type: System.String

    A modified item version specification.

Return Value

Type: System.Uri
Returns Uri.

Remarks

originalItemVersionSpec and modifiedItemVersionSpec parameters can be one of the following:

  1. Integer less than 1

  2. Latest version integer greater than or equal to 1

  3. Changeset number C{changesetNumber}, L{Label}, D{Date} T{VersionSpec}

  4. Tip version of the item at version specified by VersionSpec

  5. P{VersionSpec} - Previous version of the item at the version specified by VersionSpec.

.NET Framework Security

See Also

Reference

TswaHyperlinkBuilder Class

GetDifferenceSourceControlItemsUrl Overload

Microsoft.TeamFoundation.Common Namespace