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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
localItem
Type: System.StringLocal item.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Server.WorkingFolder
WorkingFolder object for the local item.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.