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)
Syntax
'Declaration
Public Function GetDifferenceSourceControlShelvedItemUrl ( _
originalItemServerPath As String, _
originalItemVersionSpec As String, _
shelvedItemServerPath As String, _
shelvesetName As String, _
shelvesetOwner As String, _
accessMappingMoniker As String _
) As Uri
public Uri GetDifferenceSourceControlShelvedItemUrl(
string originalItemServerPath,
string originalItemVersionSpec,
string shelvedItemServerPath,
string shelvesetName,
string shelvesetOwner,
string accessMappingMoniker
)
public:
Uri^ GetDifferenceSourceControlShelvedItemUrl(
String^ originalItemServerPath,
String^ originalItemVersionSpec,
String^ shelvedItemServerPath,
String^ shelvesetName,
String^ shelvesetOwner,
String^ accessMappingMoniker
)
member GetDifferenceSourceControlShelvedItemUrl :
originalItemServerPath:string *
originalItemVersionSpec:string *
shelvedItemServerPath:string *
shelvesetName:string *
shelvesetOwner:string *
accessMappingMoniker:string -> Uri
public function GetDifferenceSourceControlShelvedItemUrl(
originalItemServerPath : String,
originalItemVersionSpec : String,
shelvedItemServerPath : String,
shelvesetName : String,
shelvesetOwner : String,
accessMappingMoniker : String
) : Uri
Parameters
originalItemServerPath
Type: System.StringAn original item server path.
originalItemVersionSpec
Type: System.StringAn original version specification.
shelvedItemServerPath
Type: System.StringServer path of the shelved item.
shelvesetName
Type: System.StringThe name of the shelveset that contains the shelved item
shelvesetOwner
Type: System.StringThe owner of the shelveset that contains the shelved item.
accessMappingMoniker
Type: System.StringA moniker for the desired access mapping.
Return Value
Type: System.Uri
A URL for a diff tool.
Remarks
originalItemVersionSpec can be one of the following:
Integer less than 1
Latest version integer greater or equal to 1
Changeset number C{changesetNumber}, L{Label}, D{Date} T{VersionSpec}
Tip version of the item at version specified by VersionSpec
P{VersionSpec} - Previous version of the item at the version specified by VersionSpec.
.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.