VersionControlServer.GetItems Method (array<Int32 , Int32)
Gets an array of Item objects from repository, based on itemIds and changesetNumber.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'宣言
Public Function GetItems ( _
itemIds As Integer(), _
changesetNumber As Integer _
) As Item()
public Item[] GetItems(
int[] itemIds,
int changesetNumber
)
public:
array<Item^>^ GetItems(
array<int>^ itemIds,
int changesetNumber
)
member GetItems :
itemIds:int[] *
changesetNumber:int -> Item[]
public function GetItems(
itemIds : int[],
changesetNumber : int
) : Item[]
Parameters
- itemIds
Type: array<System.Int32[]
Item ID.
- changesetNumber
Type: System.Int32
Changeset version of the item.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.Item[]
An array of Item objects that match the parameters.
Remarks
If an item cannot be found for a specific itemIds and changesetNumber then the corresponding element in the item output array will be null.
.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.