Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

VersionControlServer.GetItem Method (String, VersionSpec, Int32, GetItemsOptions)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the Item at the specified path.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Public Function GetItem ( _
	path As String, _
	version As VersionSpec, _
	deletionId As Integer, _
	options As GetItemsOptions _
) As Item


Type: System.String

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

Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec

The version of the item.

Type: System.Int32

The deletion ID of the specified item.

Type: Microsoft.TeamFoundation.VersionControl.Client.GetItemsOptions

Additional behavior flags (see GetItemsOptions).

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.Item
The specified Item. Throws an exception if an item is not found.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.