Partager via


Workspace.LocalItemToWorkingFolder Method

Returns a new WorkingFolder object which describes how a given local path is mapped in the workspace.

The paths of the constructed WorkingFolder will match the given item exactly; that is, the WorkingFolder object is not necessarily a duplicate of one of the WorkingFolder objects in the Folders collection.

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

Syntax

'Declaration
Public Function LocalItemToWorkingFolder ( _
    requestContext As TeamFoundationRequestContext, _
    localItem As String _
) As WorkingFolder
public WorkingFolder LocalItemToWorkingFolder(
    TeamFoundationRequestContext requestContext,
    string localItem
)
public:
WorkingFolder^ LocalItemToWorkingFolder(
    TeamFoundationRequestContext^ requestContext, 
    String^ localItem
)
member LocalItemToWorkingFolder : 
        requestContext:TeamFoundationRequestContext * 
        localItem:string -> WorkingFolder
public function LocalItemToWorkingFolder(
    requestContext : TeamFoundationRequestContext, 
    localItem : String
) : WorkingFolder

Parameters

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Server.WorkingFolder
WorkingFolder object for the local item.

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Server Namespace