Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- teamProjectCollection 
 Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollection- The Team Foundation project collection object 
- serverItem 
 Type: System.String- The server path of the item 
- shelvesetName
 Type: System.String
- shelvesetOwner
 Type: System.String
.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.