다음을 통해 공유


IVsSccEnlistmentPathTranslation Interface

Used by the solution to translate project paths.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
<GuidAttribute("53544C4D-01F8-11D0-8E5E-00A0C911005A")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSccEnlistmentPathTranslation
[GuidAttribute("53544C4D-01F8-11D0-8E5E-00A0C911005A")]
[InterfaceTypeAttribute()]
public interface IVsSccEnlistmentPathTranslation
[GuidAttribute(L"53544C4D-01F8-11D0-8E5E-00A0C911005A")]
[InterfaceTypeAttribute()]
public interface class IVsSccEnlistmentPathTranslation
[<GuidAttribute("53544C4D-01F8-11D0-8E5E-00A0C911005A")>]
[<InterfaceTypeAttribute()>]
type IVsSccEnlistmentPathTranslation =  interface end
public interface IVsSccEnlistmentPathTranslation

The IVsSccEnlistmentPathTranslation type exposes the following members.

Methods

  Name Description
Public method TranslateEnlistmentPathToProjectPath Translates a physical project path to a (possibly) virtual project path.
Public method TranslateProjectPathToEnlistmentPath Translates a possibly virtual project path to a local path and an enlistment physical path.

Top

Remarks

An "enlistment" means the local working copy of a project as pulled from source control. Because projects can have virtual paths (for example, relative to a Web URL), a mechanism is needed to translate between those virtual paths and the location where the files exist locally. This mechanism is expressed with the IVsSccEnlistmentPathTranslation interface.

Notes to Implementers

This interface is implemented by the source control package if it supports the idea of virtual folders for projects. If this interface is not implemented, the user must manually check out files, and check in files, and move those files to the appropriate physical location that corresponds to the virtual folder in the project.

Notes to Callers

This interface is used by a solution in order to translate virtual paths (as displayed in the solution) to physical locations and back.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace