다음을 통해 공유


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

‘선언
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
Protected method Mapping()
Public method Mapping(String, WorkingFolderType, RecursionType) Initializes a new Mapping instance.

Top

Properties

  Name Description
Public property Depth Gets the recursion type for the mapping.
Public property DisplayServerItem Gets the display string for a server item.
Public property ServerItem Gets the path of the server item that is associated with this mapping.
Public property Type Gets the type of the mapped working folder.

Top

Methods

  Name Description
Public method Equals Compares whether this Mapping instance and another object are equivalent. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Generates a hash code for this instance. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Creates a user-readable string that shows all relevant properties of this mapping instance. (Overrides Object.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Compares whether two Mapping objects are equivalent.
Public operatorStatic member Inequality Compares whether two Mapping objects are not equivalent.

Top

Fields

  Name Description
Protected field m_depth
Protected field m_serverItem
Protected field 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.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Client Namespace