다음을 통해 공유


IWebFileCtxService.ConvertToAppRelPath(String, String) Method

Definition

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.

Applies to