Workspace.GetExtendedItems Method (array<ItemSpec , DeletedState, ItemType, GetItemsOptions)
Gets an array of extended items in the version-control repository that match the specified criteria, for each ItemSpec.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function GetExtendedItems ( _
itemSpecs As ItemSpec(), _
deletedState As DeletedState, _
itemType As ItemType, _
getItemsOptions As GetItemsOptions _
) As ExtendedItem()()
public ExtendedItem[][] GetExtendedItems(
ItemSpec[] itemSpecs,
DeletedState deletedState,
ItemType itemType,
GetItemsOptions getItemsOptions
)
public:
array<array<ExtendedItem^>^>^ GetExtendedItems(
array<ItemSpec^>^ itemSpecs,
DeletedState deletedState,
ItemType itemType,
GetItemsOptions getItemsOptions
)
member GetExtendedItems :
itemSpecs:ItemSpec[] *
deletedState:DeletedState *
itemType:ItemType *
getItemsOptions:GetItemsOptions -> ExtendedItem[][]
public function GetExtendedItems(
itemSpecs : ItemSpec[],
deletedState : DeletedState,
itemType : ItemType,
getItemsOptions : GetItemsOptions
) : ExtendedItem[][]
Parameters
- itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]
The specifiers for each item, which may be on the server or a local computer.
- deletedState
Type: Microsoft.TeamFoundation.VersionControl.Client.DeletedState
Flag that specifies whether to include deleted items, items that are not deleted, or both.
- itemType
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemType
Flag that specifies whether to include files, folders, or both.
- getItemsOptions
Type: Microsoft.TeamFoundation.VersionControl.Client.GetItemsOptions
One or more of the enum values (None, Download, Unsorted, IncludeBranchInfo, IncludeSourceRenames) for getting items.
Return Value
Type: array<array<Microsoft.TeamFoundation.VersionControl.Client.ExtendedItem[][]
An array of ExtendedItem arrays, each of which contains the matching ExtendedItem instances that are associated with each specified ItemSpec.
.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.