共用方式為


IVsWebBrowser.NavigateEx Method

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

Syntax

'宣告
Function NavigateEx ( _
    dwFlags As UInteger, _
    lpszURL As String, _
    ByRef pvarTargetFrame As Object, _
    ByRef pvarPostData As Object, _
    ByRef pvarHeaders As Object _
) As Integer
'用途
Dim instance As IVsWebBrowser
Dim dwFlags As UInteger
Dim lpszURL As String
Dim pvarTargetFrame As Object
Dim pvarPostData As Object
Dim pvarHeaders As Object
Dim returnValue As Integer

returnValue = instance.NavigateEx(dwFlags, _
    lpszURL, pvarTargetFrame, pvarPostData, _
    pvarHeaders)
int NavigateEx(
    uint dwFlags,
    string lpszURL,
    ref Object pvarTargetFrame,
    ref Object pvarPostData,
    ref Object pvarHeaders
)
int NavigateEx(
    [InAttribute] unsigned int dwFlags, 
    [InAttribute] String^ lpszURL, 
    [InAttribute] Object^% pvarTargetFrame, 
    [InAttribute] Object^% pvarPostData, 
    [InAttribute] Object^% pvarHeaders
)
abstract NavigateEx : 
        dwFlags:uint32 * 
        lpszURL:string * 
        pvarTargetFrame:Object byref * 
        pvarPostData:Object byref * 
        pvarHeaders:Object byref -> int 
function NavigateEx(
    dwFlags : uint, 
    lpszURL : String, 
    pvarTargetFrame : Object, 
    pvarPostData : Object, 
    pvarHeaders : Object
) : 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:

HRESULT IVsWebBrowser::NavigateEx(
   [in] DWORD dwFlags, 
   [in] LPCOLESTR lpszURL, 
   [in] VARIANT* pvarTargetFrame, 
   [in] VARIANT* pvarPostData, 
   [in] VARIANT* pvarHeaders
);

.NET Framework Security

See Also

Reference

IVsWebBrowser Interface

IVsWebBrowser Members

Microsoft.VisualStudio.Shell.Interop Namespace