Partager via


IVsWebBrowserUser.TranslateUrl(UInt32, String, String) Method

Definition

Translate or modify the specified URL.

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

Parameters

dwReserved
UInt32

[in] Reserved.

lpszURLIn
String

[in] The URL to be modified.

lppszURLOut
String

[out] The modified URL.

Returns

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

Remarks

COM Signature

From vsbrowse.idl:

[C++]

HRESULT IVsWebBrowserUser::TranslateUrl(  
   [in] DWORD dwReserved,   
   [in] LPCOLESTR lpszURLIn,   
   [out] LPOLESTR* lppszURLOut  
);  

Applies to