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

'宣言
Function ResolvePath ( _
    strEncodedPath As String, _
    dwFlags As UInteger, _
    <OutAttribute> ByRef pbstrPath As String _
) As Integer
'使用
Dim instance As IVsPathVariableResolver
Dim strEncodedPath As String
Dim dwFlags As UInteger
Dim pbstrPath As String
Dim returnValue As Integer

returnValue = instance.ResolvePath(strEncodedPath, _
    dwFlags, pbstrPath)
int ResolvePath(
    string strEncodedPath,
    uint dwFlags,
    out string pbstrPath
)
int ResolvePath(
    [InAttribute] String^ strEncodedPath, 
    [InAttribute] unsigned int dwFlags, 
    [OutAttribute] String^% pbstrPath
)
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
);

Permissions

See Also

Reference

IVsPathVariableResolver Interface

IVsPathVariableResolver Members

Microsoft.VisualStudio.Shell.Interop Namespace