IVsWebBrowserUser.TranslateUrl Method
Translate or modify the specified URL.
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
int TranslateUrl(
uint dwReserved,
string lpszURLIn,
out string lppszURLOut
)
int TranslateUrl(
[InAttribute] unsigned int dwReserved,
[InAttribute] String^ lpszURLIn,
[OutAttribute] String^% lppszURLOut
)
abstract TranslateUrl :
dwReserved:uint32 *
lpszURLIn:string *
lppszURLOut:string byref -> int
function TranslateUrl(
dwReserved : uint,
lpszURLIn : String,
lppszURLOut : String
) : int
Parameters
dwReserved
Type: UInt32[in] Reserved.
lpszURLIn
Type: String[in] The URL to be modified.
lppszURLOut
Type: String%[out] The modified URL.
Return Value
Type: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.