Delen via


ShelvedItemUri Constructor (TfsTeamProjectCollection, String, String, String, UriType)

Construct a Versioned Item Uri object given a Team Foundation project collection object, a server path, shelveset name and owner, 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, _
    shelvesetName As String, _
    shelvesetOwner As String, _
    type As UriType _
)
public ShelvedItemUri(
    TfsTeamProjectCollection teamProjectCollection,
    string serverItem,
    string shelvesetName,
    string shelvesetOwner,
    UriType type
)
public:
ShelvedItemUri(
    TfsTeamProjectCollection^ teamProjectCollection, 
    String^ serverItem, 
    String^ shelvesetName, 
    String^ shelvesetOwner, 
    UriType type
)
new : 
        teamProjectCollection:TfsTeamProjectCollection * 
        serverItem:string * 
        shelvesetName:string * 
        shelvesetOwner:string * 
        type:UriType -> ShelvedItemUri
public function ShelvedItemUri(
    teamProjectCollection : TfsTeamProjectCollection, 
    serverItem : String, 
    shelvesetName : String, 
    shelvesetOwner : String, 
    type : UriType
)

Parameters

.NET Framework Security

See Also

Reference

ShelvedItemUri Class

ShelvedItemUri Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace