This documentation is archived and is not being maintained.
Workspace::GetLocalItemForServerItem Method (String, Boolean)
Visual Studio 2013
Gets the corresponding local item for the specified server item.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: String^ GetLocalItemForServerItem( String^ serverItem, bool detectImplicitCloak )
Parameters
- serverItem
- Type: System::String
The server item to translate.
- detectImplicitCloak
- Type: System::Boolean
True to detect whether the server item is implicitly cloaked in the workspace. Forces this method to return false if the server item is implicitly cloaked. False to ignore implicit cloaking.
| Exception | Condition |
|---|---|
| ItemNotMappedException | Thrown if the server item is not mapped in the workspace. |
| ItemCloakedException | Thrown if the server item is cloaked in the workspace. |
- 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.
Show: