IWebFileCtxService.ConvertToAppRelPath(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a path to an application-relative path.
public:
int ConvertToAppRelPath(System::String ^ pszFilePath, [Runtime::InteropServices::Out] System::String ^ % pbstrAppRelPath);
int ConvertToAppRelPath(std::wstring const & pszFilePath, [Runtime::InteropServices::Out] std::wstring const & & pbstrAppRelPath);
public int ConvertToAppRelPath (string pszFilePath, out string pbstrAppRelPath);
abstract member ConvertToAppRelPath : string * string -> int
Public Function ConvertToAppRelPath (pszFilePath As String, ByRef pbstrAppRelPath As String) As Integer
Parameters
- pszFilePath
- String
[in] Pointer to a string containing the path to convert.
- pbstrAppRelPath
- String
[out] Pointer to a string containing the calculated application-relative path.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.