Workspace.TryGetWorkingFolderForLocalItem Method
Gets a WorkingFolder instance describing how the local item is mapped in the workspace.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaración
Public Function TryGetWorkingFolderForLocalItem ( _
localItem As String _
) As WorkingFolder
public WorkingFolder TryGetWorkingFolderForLocalItem(
string localItem
)
public:
WorkingFolder^ TryGetWorkingFolderForLocalItem(
String^ localItem
)
member TryGetWorkingFolderForLocalItem :
localItem:string -> WorkingFolder
public function TryGetWorkingFolderForLocalItem(
localItem : String
) : WorkingFolder
Parameters
- localItem
Type: System.String
The local path for which to construct a WorkingFolder.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder
A WorkingFolder describing how the local path is mapped in the workspace. Null if the specified local item is not mapped in the workspace.
.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.