Mapping Class
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
'Declaration
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 | |
---|---|---|
![]() |
Mapping() | Initializes a new instance of the Mapping class. |
![]() |
Mapping(String, WorkingFolderType, RecursionType) | Initializes a new Mapping instance. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Depth | Gets the recursion type for the mapping. |
![]() |
DisplayServerItem | Gets the display string for a server item. |
![]() |
ServerItem | Gets the path of the server item that is associated with this mapping. |
![]() |
Type | Gets the type of the mapped working folder. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Compares whether this Mapping instance and another object are equivalent. (Overrides Object.Equals(Object).) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Generates a hash code for this instance. (Overrides Object.GetHashCode().) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | Creates a user-readable string that shows all relevant properties of this mapping instance. (Overrides Object.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
![]() ![]() |
Equality | Compares whether two Mapping objects are equivalent. |
![]() ![]() |
Inequality | Compares whether two Mapping objects are not equivalent. |
Top
Fields
Name | Description | |
---|---|---|
![]() |
m_depth | The mapping is m_depth. |
![]() |
m_serverItem | The mapping is m_serverItem. |
![]() |
m_type | The mapping is 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.