This documentation is archived and is not being maintained.

TswaHyperlinkBuilder.GetDifferenceSourceControlShelvedItemUrl Method (String, String, String, String, String, String)

Gets a URL for a diff tool.

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

member GetDifferenceSourceControlShelvedItemUrl : 
        originalItemServerPath:string * 
        originalItemVersionSpec:string * 
        shelvedItemServerPath:string * 
        shelvesetName:string * 
        shelvesetOwner:string * 
        accessMappingMoniker:string -> Uri

Parameters

originalItemServerPath
Type: System.String

An original item server path.

originalItemVersionSpec
Type: System.String

An original version specification.

shelvedItemServerPath
Type: System.String

Server path of the shelved item.

shelvesetName
Type: System.String

The name of the shelveset that contains the shelved item

shelvesetOwner
Type: System.String

The owner of the shelveset that contains the shelved item.

accessMappingMoniker
Type: System.String

A moniker for the desired access mapping.

Return Value

Type: System.Uri
A URL for a diff tool.

originalItemVersionSpec can be one of the following:

  1. Integer less than 1

  2. Latest version integer greater 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.

Show: