共用方式為


TswaHyperlinkBuilder.GetDifferenceSourceControlShelvedItemUrl Method (String, Int32, 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, _
    originalItemChangeset As Integer, _
    shelvedItemServerPath As String, _
    shelvesetName As String, _
    shelvesetOwner As String _
) As Uri
public Uri GetDifferenceSourceControlShelvedItemUrl(
    string originalItemServerPath,
    int originalItemChangeset,
    string shelvedItemServerPath,
    string shelvesetName,
    string shelvesetOwner
)
public:
Uri^ GetDifferenceSourceControlShelvedItemUrl(
    String^ originalItemServerPath, 
    int originalItemChangeset, 
    String^ shelvedItemServerPath, 
    String^ shelvesetName, 
    String^ shelvesetOwner
)
member GetDifferenceSourceControlShelvedItemUrl : 
        originalItemServerPath:string * 
        originalItemChangeset:int * 
        shelvedItemServerPath:string * 
        shelvesetName:string * 
        shelvesetOwner:string -> Uri
public function GetDifferenceSourceControlShelvedItemUrl(
    originalItemServerPath : String, 
    originalItemChangeset : int, 
    shelvedItemServerPath : String, 
    shelvesetName : String, 
    shelvesetOwner : String
) : Uri

Parameters

  • originalItemServerPath
    Type: System.String

    An original item server path.

  • originalItemChangeset
    Type: System.Int32

    An original item changeset ID.

  • 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.

Return Value

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

.NET Framework Security

See Also

Reference

TswaHyperlinkBuilder Class

GetDifferenceSourceControlShelvedItemUrl Overload

Microsoft.TeamFoundation.Common Namespace