TranslateUrl Method
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

IVsWebBrowserUser.TranslateUrl Method

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int TranslateUrl (
	[InAttribute] uint dwReserved,
	[InAttribute] string lpszURLIn,
	out string lppszURLOut
int TranslateUrl (
	/** @attribute InAttribute() */ UInt32 dwReserved, 
	/** @attribute InAttribute() */ String lpszURLIn, 
	/** @attribute OutAttribute() */ /** @ref */ String lppszURLOut
JScript does not support passing value-type arguments by reference.








Return Value

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

COM Signature

From vsbrowse.idl:


HRESULT IVsWebBrowserUser::TranslateUrl(
   [in] DWORD dwReserved, 
   [in] LPCOLESTR lpszURLIn, 
   [out] LPOLESTR* lppszURLOut
© 2015 Microsoft