Share via


IVsRelativePathResolver.ResolveRelativePath(UInt32, String, String) Method

Definition

Resolves a relative path to an absolute path for a document.

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

Parameters

dwReserved
UInt32

[in] Reserved for future use. Must be zero.

pszRelPath
String

[in] Relative path to the document.

pbstrAbsPath
String

[out, retval] Absolute path to the document.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsRelativePathResolver::ResolveRelativePath(  
   [in] DWORD dwReserved,  
   [in] LPCOLESTR pszRelPath,  
   [out, retval] BSTR *pbstrAbsPath  
);  

Applies to