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
teamProjectCollection
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionThe Team Foundation Project Collection object.
serverItem
Type: System.StringThe server path of the item.
changeset
Type: System.Int32The changeset for which an artifact should be constructed.
deletionId
Type: System.Int32The deletion ID of the object.
.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.