IVsSccEnlistmentPathTranslation 接口

定义

供解决方案用于转换项目路径。

public interface class IVsSccEnlistmentPathTranslation
public interface class IVsSccEnlistmentPathTranslation
__interface IVsSccEnlistmentPathTranslation
[System.Runtime.InteropServices.Guid("53544C4D-01F8-11D0-8E5E-00A0C911005A")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsSccEnlistmentPathTranslation
[<System.Runtime.InteropServices.Guid("53544C4D-01F8-11D0-8E5E-00A0C911005A")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsSccEnlistmentPathTranslation = interface
Public Interface IVsSccEnlistmentPathTranslation
属性

注解

"登记" 是指从源控件中请求的项目的本地工作副本。 由于项目可以包含虚拟路径 (例如,相对于 Web URL) ,因此需要在这些虚拟路径和文件本地存在的位置之间进行转换的机制。 此机制以 IVsSccEnlistmentPathTranslation 接口表示。

实施者说明

如果此接口支持项目的虚拟文件夹的概念,则源代码管理包实现此接口。 如果未实现此接口,则用户必须手动签出文件并签入文件,并将这些文件移动到对应于项目中的虚拟文件夹的相应物理位置。

调用方说明

解决方案使用此接口将虚拟路径转换 (如解决方案中显示的) 到物理位置和背面。

方法

TranslateEnlistmentPathToProjectPath(String, String)

将物理项目路径转换为可能) 虚拟项目路径的 (。

TranslateProjectPathToEnlistmentPath(String, String, String)

将可能的虚拟项目路径转换为本地路径和登记物理路径。

适用于