This documentation is archived and is not being maintained.
Workspace::TryGetServerItemForLocalItem Method (String, Boolean)
Visual Studio 2013
Gets the corresponding server item for a local item.
Does not throw ItemNotMappedException or ItemCloakedException.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: String^ TryGetServerItemForLocalItem( String^ localItem, bool detectImplicitCloak )
Parameters
- localItem
- Type: System::String
The local item to translate
- detectImplicitCloak
- Type: System::Boolean
If true, detect and return null if the local item is implicitly 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: