Dela via


VersionedItemUri Constructor (TfsTeamProjectCollection, String, Int32, Int32, UriType)

Constructs a Versioned Item URI object given a Team Foundation Server object, a server path, changeset, and deletion ID and whether the URI will be for a Web view.

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

Syntax

'Declaration
Public Sub New ( _
    teamProjectCollection As TfsTeamProjectCollection, _
    serverItem As String, _
    changeset As Integer, _
    deletionId As Integer, _
    type As UriType _
)
public VersionedItemUri(
    TfsTeamProjectCollection teamProjectCollection,
    string serverItem,
    int changeset,
    int deletionId,
    UriType type
)
public:
VersionedItemUri(
    TfsTeamProjectCollection^ teamProjectCollection, 
    String^ serverItem, 
    int changeset, 
    int deletionId, 
    UriType type
)
new : 
        teamProjectCollection:TfsTeamProjectCollection * 
        serverItem:string * 
        changeset:int * 
        deletionId:int * 
        type:UriType -> VersionedItemUri
public function VersionedItemUri(
    teamProjectCollection : TfsTeamProjectCollection, 
    serverItem : String, 
    changeset : int, 
    deletionId : int, 
    type : UriType
)

Parameters

  • changeset
    Type: System.Int32

    The changeset for which an artifact should be constructed.

  • deletionId
    Type: System.Int32

    The deletion ID of the object.

.NET Framework Security

See Also

Reference

VersionedItemUri Class

VersionedItemUri Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace