IVsPathVariableResolver 接口

使用常用路径的元素, visual studio 给定的变量编码或解码文件路径。这支持存储文件路径与 vssettings 文件的一个与计算机无关的格式。您可以获取接口的实例。 SVsPathVariableResolver (SID_SVsPathVariableResolver) services。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop.8.0(在 Microsoft.VisualStudio.Shell.Interop.8.0.dll 中)

语法

声明
<GuidAttribute("17A4EF87-4472-47F6-B066-FE96036678D0")> _
<InterfaceTypeAttribute()> _
Public Interface IVsPathVariableResolver
[GuidAttribute("17A4EF87-4472-47F6-B066-FE96036678D0")]
[InterfaceTypeAttribute()]
public interface IVsPathVariableResolver

IVsPathVariableResolver 类型公开以下成员。

方法

  名称 说明
公共方法 EncodePath 通过单个替换安装目录和用户应用程序数据目录输入一个文件路径的字符串 %VS_INSTALL_DIRECTORY% 和 %USER_APPDATA%。
公共方法 ResolvePath 解决一个文件路径输入与 EncodePath

页首

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间