Initializes a new Mapping instance.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Sub New ( _
    serverItem As String, _
    type As WorkingFolderType, _
    depth As RecursionType _
)
public Mapping(
    string serverItem,
    WorkingFolderType type,
    RecursionType depth
)
public:
Mapping(
    String^ serverItem, 
    WorkingFolderType type, 
    RecursionType depth
)
new : 
        serverItem:string * 
        type:WorkingFolderType * 
        depth:RecursionType -> Mapping
public function Mapping(
    serverItem : String, 
    type : WorkingFolderType, 
    depth : RecursionType
)
Parameters
- serverItem
 Type: System.String
 The server item to map.
- type
 Type: Microsoft.TeamFoundation.VersionControl.Client.WorkingFolderType
 The type of the working folder.
- depth
 Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType
 The depth of the recursion.
.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.