Compartilhar via


Workspace.TryGetLocalItemForServerItem Method (String, Boolean)

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)

Syntax

'Declaração
Public Function TryGetLocalItemForServerItem ( _
    serverItem As String, _
    detectImplicitCloak As Boolean _
) As String
public string TryGetLocalItemForServerItem(
    string serverItem,
    bool detectImplicitCloak
)
public:
String^ TryGetLocalItemForServerItem(
    String^ serverItem, 
    bool detectImplicitCloak
)
member TryGetLocalItemForServerItem : 
        serverItem:string * 
        detectImplicitCloak:bool -> string 
public function TryGetLocalItemForServerItem(
    serverItem : String, 
    detectImplicitCloak : boolean
) : String

Parameters

  • detectImplicitCloak
    Type: System.Boolean
    True to detect if 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.

Return Value

Type: System.String
The corresponding local item for the specified server item.

.NET Framework Security

See Also

Reference

Workspace Class

TryGetLocalItemForServerItem Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace