Creates a working folder object.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Sub New ( _
    serverItem As String, _
    localItem As String, _
    type As WorkingFolderType, _
    depth As RecursionType _
)
public WorkingFolder(
    string serverItem,
    string localItem,
    WorkingFolderType type,
    RecursionType depth
)
public:
WorkingFolder(
    String^ serverItem, 
    String^ localItem, 
    WorkingFolderType type, 
    RecursionType depth
)
new : 
        serverItem:string * 
        localItem:string * 
        type:WorkingFolderType * 
        depth:RecursionType -> WorkingFolder
public function WorkingFolder(
    serverItem : String, 
    localItem : String, 
    type : WorkingFolderType, 
    depth : RecursionType
)
Parameters
- serverItem
 Type: System.String
 The server item that is being mapped.
- localItem
 Type: System.String
 The local item that is mapped from the server item. May be null if the server item is cloaked.
- type
 Type: Microsoft.TeamFoundation.VersionControl.Client.WorkingFolderType
 Type of mapping to create.
- depth
 Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType
 The folder depth that mapping affects.
.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.