This documentation is archived and is not being maintained.

Workspace::TryGetWorkingFolderForServerItem Method (String, array<WorkingFolder>)

Gets a WorkingFolder instance that describes how the specified WorkingFolder objects map the server item.

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

public:
static WorkingFolder^ TryGetWorkingFolderForServerItem(
	String^ serverItem, 
	array<WorkingFolder^>^ folders
)

Parameters

serverItem
Type: System::String

A server path that the provided WorkingFolder objects map.

folders
Type: array<Microsoft.TeamFoundation.VersionControl.Client::WorkingFolder>

The WorkingFolder objects.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client::WorkingFolder
A WorkingFolder instance that describes how the specified WorkingFolder objects map the server path. Null if the server path is not mapped.

First shipped in Visual Studio Team Foundation Server 2005

Show: