次の方法で共有


IVsPathVariableResolver.ResolvePath(String, UInt32, String) Method

Definition

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

public:
 int ResolvePath(System::String ^ strEncodedPath, System::UInt32 dwFlags, [Runtime::InteropServices::Out] System::String ^ % pbstrPath);
int ResolvePath(std::wstring const & strEncodedPath, unsigned int dwFlags, [Runtime::InteropServices::Out] std::wstring const & & pbstrPath);
public int ResolvePath (string strEncodedPath, uint dwFlags, out string pbstrPath);
abstract member ResolvePath : string * uint32 * string -> int
Public Function ResolvePath (strEncodedPath As String, dwFlags As UInteger, ByRef pbstrPath As String) As Integer

Parameters

strEncodedPath
String

[in] String containing the encoded path.

dwFlags
UInt32

[in] Encoding option flag. A value from the __VSPROFILEPATHRESOLVERFLAGS enumeration.

pbstrPath
String

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

Returns

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  
);  

Applies to