Share via


IVsPathVariableResolver.ResolvePath Method

Resolves (decodes) a file path encoded with EncodePath.

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

Syntax

'Declaration
Function ResolvePath ( _
    strEncodedPath As String, _
    dwFlags As UInteger, _
    <OutAttribute> ByRef pbstrPath As String _
) As Integer
int ResolvePath(
    string strEncodedPath,
    uint dwFlags,
    out string pbstrPath
)
int ResolvePath(
    [InAttribute] String^ strEncodedPath, 
    [InAttribute] unsigned int dwFlags, 
    [OutAttribute] String^% pbstrPath
)
abstract ResolvePath : 
        strEncodedPath:string * 
        dwFlags:uint32 * 
        pbstrPath:string byref -> int
function ResolvePath(
    strEncodedPath : String, 
    dwFlags : uint, 
    pbstrPath : String
) : int

Parameters

  • strEncodedPath
    Type: System.String

    [in] String containing the encoded path.

  • pbstrPath
    Type: System.String%

    [out] Pointer to a string containing the resolved path.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsPathVariableResolver::ResolvePath(
   [in] LPCOLESTR strEncodedPath, 
   [in] VSPROFILEPATHRESOLVERFLAGS dwFlags, 
   [out] BSTR *pbstrPath
);

.NET Framework Security

See Also

Reference

IVsPathVariableResolver Interface

Microsoft.VisualStudio.Shell.Interop Namespace