IVsWebBrowserUser.TranslateUrl Method

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

Syntax

'Declaration
Function TranslateUrl ( _
    dwReserved As UInteger, _
    lpszURLIn As String, _
    <OutAttribute> ByRef lppszURLOut As String _
) As Integer
'Usage
Dim instance As IVsWebBrowserUser 
Dim dwReserved As UInteger 
Dim lpszURLIn As String 
Dim lppszURLOut As String 
Dim returnValue As Integer 

returnValue = instance.TranslateUrl(dwReserved, _
    lpszURLIn, lppszURLOut)
int TranslateUrl(
    uint dwReserved,
    string lpszURLIn,
    out string lppszURLOut
)
int TranslateUrl(
    [InAttribute] unsigned int dwReserved, 
    [InAttribute] String^ lpszURLIn, 
    [OutAttribute] String^% lppszURLOut
)
function TranslateUrl(
    dwReserved : uint, 
    lpszURLIn : String, 
    lppszURLOut : String
) : int

Parameters

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsWebBrowserUser Interface

IVsWebBrowserUser Members

Microsoft.VisualStudio.Shell.Interop Namespace