Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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, _
accessMappingMoniker As String _
) As Uri
public Uri GetDifferenceSourceControlItemsUrl(
string originalItemServerPath,
string originalItemVersionSpec,
string modifiedItemServerPath,
string modifiedItemVersionSpec,
string accessMappingMoniker
)
public:
Uri^ GetDifferenceSourceControlItemsUrl(
String^ originalItemServerPath,
String^ originalItemVersionSpec,
String^ modifiedItemServerPath,
String^ modifiedItemVersionSpec,
String^ accessMappingMoniker
)
member GetDifferenceSourceControlItemsUrl :
originalItemServerPath:string *
originalItemVersionSpec:string *
modifiedItemServerPath:string *
modifiedItemVersionSpec:string *
accessMappingMoniker:string -> Uri
public function GetDifferenceSourceControlItemsUrl(
originalItemServerPath : String,
originalItemVersionSpec : String,
modifiedItemServerPath : String,
modifiedItemVersionSpec : String,
accessMappingMoniker : String
) : Uri
Parameters
originalItemServerPath
Type: System.StringAn original item server path.
originalItemVersionSpec
Type: System.StringAn original version specification.
modifiedItemServerPath
Type: System.StringA modified item server path.
modifiedItemVersionSpec
Type: System.StringA modified item version specification.
accessMappingMoniker
Type: System.StringA moniker for the desired access mapping.
Return Value
Type: System.Uri
A URL for a diff tool.
Remarks
originalItemVersionSpec and modifiedItemVersionSpec parameters can be one of the following:
Integer less than 1
Latest version integer greater than or equal to 1
Changeset number C{changesetNumber}, L{Label}, D{Date} T{VersionSpec}
Tip version of the item at the 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.