Compartir a través de


IVsPathVariableResolver Interface

Encodes or decodes file paths using Visual Studio-specific variables for common path elements. This supports storing file paths in a machine independent format with the vssettings files. You can get an instance of the interface from the SVsPathVariableResolver (SID_SVsPathVariableResolver) service.

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

Syntax

'Declaration
<GuidAttribute("17A4EF87-4472-47F6-B066-FE96036678D0")> _
<InterfaceTypeAttribute()> _
Public Interface IVsPathVariableResolver
[GuidAttribute("17A4EF87-4472-47F6-B066-FE96036678D0")]
[InterfaceTypeAttribute()]
public interface IVsPathVariableResolver
[GuidAttribute(L"17A4EF87-4472-47F6-B066-FE96036678D0")]
[InterfaceTypeAttribute()]
public interface class IVsPathVariableResolver
[<GuidAttribute("17A4EF87-4472-47F6-B066-FE96036678D0")>]
[<InterfaceTypeAttribute()>]
type IVsPathVariableResolver =  interface end
public interface IVsPathVariableResolver

The IVsPathVariableResolver type exposes the following members.

Methods

  Name Description
Public method EncodePath Encodes a file path by replacing the installation directory and the user application data directory with the strings %VS_INSTALL_DIRECTORY% and %USER_APPDATA% respectively.
Public method ResolvePath Resolves (decodes) a file path encoded with EncodePath.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace