共用方式為


Workspace.GetExtendedItems Method (array<ItemSpec[], DeletedState, ItemType, GetItemsOptions, array<String )

For each input ItemSpec, retrieves a list of extended items in the repository that match the specified criteria. If the 'path' argument is a file, returns a set of items that contain just that file. If the 'path' is a folder, returns a set of items that contain all items in that folder. If the 'path' contains a wildcard character, returns a set of items in the specified folder that match the wildcard.

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, _
    itemPropertyFilters As String() _
) As ExtendedItem()()
public ExtendedItem[][] GetExtendedItems(
    ItemSpec[] itemSpecs,
    DeletedState deletedState,
    ItemType itemType,
    GetItemsOptions getItemsOptions,
    string[] itemPropertyFilters
)
public:
array<array<ExtendedItem^>^>^ GetExtendedItems(
    array<ItemSpec^>^ itemSpecs, 
    DeletedState deletedState, 
    ItemType itemType, 
    GetItemsOptions getItemsOptions, 
    array<String^>^ itemPropertyFilters
)
member GetExtendedItems : 
        itemSpecs:ItemSpec[] * 
        deletedState:DeletedState * 
        itemType:ItemType * 
        getItemsOptions:GetItemsOptions * 
        itemPropertyFilters:string[] -> ExtendedItem[][] 
public function GetExtendedItems(
    itemSpecs : ItemSpec[], 
    deletedState : DeletedState, 
    itemType : ItemType, 
    getItemsOptions : GetItemsOptions, 
    itemPropertyFilters : String[]
) : ExtendedItem[][]

Parameters

  • itemPropertyFilters
    Type: array<System.String[]

    A list of properties to query.

Return Value

Type: array<array<Microsoft.TeamFoundation.VersionControl.Client.ExtendedItem[][]
An array of ExtendedItem arrays, each containing the matching ExtendedItem instances associated with each specified ItemSpec

.NET Framework Security

See Also

Reference

Workspace Class

GetExtendedItems Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace