Workspace.GetWorkingFolderForLocalItem Method

Gets a WorkingFolder instance that describes how the specified local item is mapped in the workspace.

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

public WorkingFolder GetWorkingFolderForLocalItem(
	string localItem
)

Parameters

localItem
Type: System.String

The local path for which to construct a WorkingFolder instance.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder
A WorkingFolder instance that describes how the local path is mapped in the workspace.

ExceptionCondition
ItemNotMappedException

Thrown if the local item is not mapped in the workspace.

First shipped in Visual Studio Team Foundation Server 2005

Show: