Udostępnij za pośrednictwem


IVsWebBrowser.NavigateEx(UInt32, String, Object, Object, Object) Method

Definition

Navigates to web with external protocol URLs.

public:
 int NavigateEx(System::UInt32 dwFlags, System::String ^ lpszURL, System::Object ^ % pvarTargetFrame, System::Object ^ % pvarPostData, System::Object ^ % pvarHeaders);
int NavigateEx(unsigned int dwFlags, std::wstring const & lpszURL, winrt::Windows::Foundation::IInspectable const & & pvarTargetFrame, winrt::Windows::Foundation::IInspectable const & & pvarPostData, winrt::Windows::Foundation::IInspectable const & & pvarHeaders);
public int NavigateEx (uint dwFlags, string lpszURL, ref object pvarTargetFrame, ref object pvarPostData, ref object pvarHeaders);
abstract member NavigateEx : uint32 * string * obj * obj * obj -> int
Public Function NavigateEx (dwFlags As UInteger, lpszURL As String, ByRef pvarTargetFrame As Object, ByRef pvarPostData As Object, ByRef pvarHeaders As Object) As Integer

Parameters

dwFlags
UInt32

[in] Flags specifying navigation options. Possible values are VSNWB_ForceNew, VSNWB_AddToMRU, VSNWB_VsURLOnly, and VSNWB_WebURLOnly.

lpszURL
String

[in] The URL to which to navigate.

pvarTargetFrame
Object

[in] The target frame.

pvarPostData
Object

[in] The data to post.

pvarHeaders
Object

[in] Headers.

Returns

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  
);  

Applies to