Partager via


VersionControlServer.GetExtendedItems Method (String, DeletedState, ItemType)

Gets an array of ExtendedItem objects in the repository that match the specified criteria.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Déclaration
Public Function GetExtendedItems ( _
    path As String, _
    deletedState As DeletedState, _
    itemType As ItemType _
) As ExtendedItem()
public ExtendedItem[] GetExtendedItems(
    string path,
    DeletedState deletedState,
    ItemType itemType
)
public:
array<ExtendedItem^>^ GetExtendedItems(
    String^ path, 
    DeletedState deletedState, 
    ItemType itemType
)
member GetExtendedItems : 
        path:string * 
        deletedState:DeletedState * 
        itemType:ItemType -> ExtendedItem[] 
public function GetExtendedItems(
    path : String, 
    deletedState : DeletedState, 
    itemType : ItemType
) : ExtendedItem[]

Parameters

  • path
    Type: System.String
    The path to the item(s), may be server or local.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.ExtendedItem[]
An array containing the matching ExtendedItem instances.

Remarks

If the 'path' argument is a file, returns a set of items containing just that file. If the 'path' is a folder, returns a set of items containing 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.

.NET Framework Security

See Also

Reference

VersionControlServer Class

GetExtendedItems Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace