Describes a mapping that links an item on the server to an item on the local machine.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Client.Mapping
    Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Class Mapping
public class Mapping
public ref class Mapping
type Mapping =  class end
public class Mapping
The Mapping type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | Mapping() | |
| .gif) | Mapping(String, WorkingFolderType, RecursionType) | Initializes a new Mapping instance. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Depth | Gets the recursion type for the mapping. | 
| .gif) | DisplayServerItem | Gets the display string for a server item. | 
| .gif) | ServerItem | Gets the path of the server item that is associated with this mapping. | 
| .gif) | Type | Gets the type of the mapped working folder. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Compares whether this Mapping instance and another object are equivalent. (Overrides Object.Equals(Object).) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Generates a hash code for this instance. (Overrides Object.GetHashCode().) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Creates a user-readable string that shows all relevant properties of this mapping instance. (Overrides Object.ToString().) | 
Top
Operators
| Name | Description | |
|---|---|---|
| .gif) .gif) | Equality | Compares whether two Mapping objects are equivalent. | 
| .gif) .gif) | Inequality | Compares whether two Mapping objects are not equivalent. | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) | m_depth | |
| .gif) | m_serverItem | |
| .gif) | m_type | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.