IVsWebBrowserUser.TranslateUrl Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Déclaration
Function TranslateUrl ( _
dwReserved As UInteger, _
lpszURLIn As String, _
<OutAttribute> ByRef lppszURLOut As String _
) As Integer
'Utilisation
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
)
abstract TranslateUrl :
dwReserved:uint32 *
lpszURLIn:string *
lppszURLOut:string byref -> int
function TranslateUrl(
dwReserved : uint,
lpszURLIn : String,
lppszURLOut : String
) : int
Parameters
- dwReserved
Type: System.UInt32
[in]
- lpszURLIn
Type: System.String
[in]
- lppszURLOut
Type: System.String%
[out]
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
- 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.