VersionControlServer.GetItem Method (Int32, Int32, GetItemsOptions)
Gets an Item from the repository, based on itemId, changesetNumber, and options.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function GetItem ( _
itemId As Integer, _
changesetNumber As Integer, _
options As GetItemsOptions _
) As Item
public Item GetItem(
int itemId,
int changesetNumber,
GetItemsOptions options
)
public:
Item^ GetItem(
int itemId,
int changesetNumber,
GetItemsOptions options
)
member GetItem :
itemId:int *
changesetNumber:int *
options:GetItemsOptions -> Item
public function GetItem(
itemId : int,
changesetNumber : int,
options : GetItemsOptions
) : Item
Parameters
itemId
Type: System.Int32Item ID.
changesetNumber
Type: System.Int32Changeset version of the item.
options
Type: Microsoft.TeamFoundation.VersionControl.Client.GetItemsOptionsAdditional behavior flags (see GetItemsOptions).
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.