Compartir a través de


IVsPathVariableResolver Interface

Definition

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.

public interface class IVsPathVariableResolver
public interface class IVsPathVariableResolver
__interface IVsPathVariableResolver
[System.Runtime.InteropServices.Guid("17A4EF87-4472-47F6-B066-FE96036678D0")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsPathVariableResolver
[<System.Runtime.InteropServices.Guid("17A4EF87-4472-47F6-B066-FE96036678D0")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsPathVariableResolver = interface
Public Interface IVsPathVariableResolver
Attributes

Methods

EncodePath(String, UInt32, String)

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.

ResolvePath(String, UInt32, String)

Resolves (decodes) a file path encoded with EncodePath(String, UInt32, String).

Applies to