VersionControlServer.GetItem Method (Int32, Int32)
Gets an Item from the repository, based on itemId and changesetNumber.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
‘선언
Public Function GetItem ( _
itemId As Integer, _
changesetNumber As Integer _
) As Item
public Item GetItem(
int itemId,
int changesetNumber
)
public:
Item^ GetItem(
int itemId,
int changesetNumber
)
member GetItem :
itemId:int *
changesetNumber:int -> Item
public function GetItem(
itemId : int,
changesetNumber : int
) : Item
Parameters
- itemId
Type: System.Int32
Item ID.
- changesetNumber
Type: System.Int32
Changeset version of the item.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.Item
The specified Item. Null if not found.
.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.