Método IVsWebBrowserUser.TranslateUrl (UInt32, String, String)

 

Publicado: abril de 2016

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (em Microsoft.VisualStudio.Shell.Interop.dll)

Sintaxe

int TranslateUrl(
    uint dwReserved,
    string lpszURLIn,
    out string lppszURLOut
)
int TranslateUrl(
    unsigned int dwReserved,
    String^ lpszURLIn,
    [OutAttribute] String^% lppszURLOut
)
abstract TranslateUrl : 
        dwReserved:uint32 *
        lpszURLIn:string *
        lppszURLOut:string byref -> int
Function TranslateUrl (
    dwReserved As UInteger,
    lpszURLIn As String,
    <OutAttribute> ByRef lppszURLOut As String
) As Integer

Parâmetros

  • dwReserved
    [in]
  • lpszURLIn
    [in]
  • lppszURLOut
    [out]

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De vsbrowse.idl:

[C++]

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

Consulte também

Interface IVsWebBrowserUser
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo