IVsRelativePathResolver::ResolveRelativePath Method (UInt32, String^, String^)
Visual Studio 2015
Resolves a relative path to an absolute path for a document.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int ResolveRelativePath( unsigned int dwReserved, String^ pszRelPath, [OutAttribute] String^% pbstrAbsPath )
Parameters
- dwReserved
-
Type:
System::UInt32
[in] Reserved for future use. Must be zero.
- pszRelPath
-
Type:
System::String^
[in] Relative path to the document.
- pbstrAbsPath
-
Type:
System::String^
[out, retval] Absolute path to the document.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsRelativePathResolver::ResolveRelativePath( [in] DWORD dwReserved, [in] LPCOLESTR pszRelPath, [out, retval] BSTR *pbstrAbsPath );
Show: