Retrieves a list of all
Items in the database that match the specified path.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)
Visual Basic (Declaration)
Public Function GetItems ( _
path As String _
) As ItemSet
Dim instance As VersionControlServer
Dim path As String
Dim returnValue As ItemSet
returnValue = instance.GetItems(path)
public ItemSet GetItems (
string path
)
public:
ItemSet^ GetItems (
String^ path
)
public ItemSet GetItems (
String path
)
public function GetItems (
path : String
) : ItemSet
Parameters
- path
The path of the Item or Items being listed that may be on a server or on the local computer.
Return Value
Returns an ItemSet that contains a collection of matching Items.
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.