IVsPathVariableResolver.ResolvePath(String, UInt32, String) 方法

定义

解析) 使用编码的文件路径 (解码 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

参数

strEncodedPath
String

中包含编码路径的字符串。

dwFlags
UInt32

中编码选项标志。 __VSPROFILEPATHRESOLVERFLAGS 枚举中的一个值。

pbstrPath
String

弄指向包含解析的路径的字符串的指针。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell80:

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

适用于