Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VersionControlServer.GetItems Method (String, VersionSpec, RecursionType)

Gets an array of Item objects from repository that match the specified path.

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

Public Function GetItems ( _
	path As String, _
	version As VersionSpec, _
	recursion As RecursionType _
) As ItemSet


Type: System.String

The path to the item(s), may be server or local.

Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec

The version of the item(s).

Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType

A flag describing whether the items should be listed from subfolders.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSet
An array of Item objects matching the path.

© 2015 Microsoft