Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets a WorkingFolder instance describing how the server item is mapped by the specified WorkingFolder objects.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Shared Function TryGetWorkingFolderForServerItem ( _
serverItem As String, _
folders As WorkingFolder() _
) As WorkingFolder
public static WorkingFolder TryGetWorkingFolderForServerItem(
string serverItem,
WorkingFolder[] folders
)
public:
static WorkingFolder^ TryGetWorkingFolderForServerItem(
String^ serverItem,
array<WorkingFolder^>^ folders
)
static member TryGetWorkingFolderForServerItem :
serverItem:string *
folders:WorkingFolder[] -> WorkingFolder
public static function TryGetWorkingFolderForServerItem(
serverItem : String,
folders : WorkingFolder[]
) : WorkingFolder
Parameters
- serverItem
Type: System.String
A server path mapped by the provided WorkingFolder objects.
- folders
Type: array<Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder[]
The WorkingFolder objects.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder
A WorkingFolder describing how the server path is mapped by the specified WorkingFolder objects. Null if the server path is not mapped.
.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.