共用方式為


IVsWebBrowsingService.Navigate Method

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

Syntax

'宣告
Function Navigate ( _
    lpszURL As String, _
    dwNaviageFlags As UInteger, _
    <OutAttribute> ByRef ppFrame As IVsWindowFrame _
) As Integer
'用途
Dim instance As IVsWebBrowsingService
Dim lpszURL As String
Dim dwNaviageFlags As UInteger
Dim ppFrame As IVsWindowFrame
Dim returnValue As Integer

returnValue = instance.Navigate(lpszURL, _
    dwNaviageFlags, ppFrame)
int Navigate(
    string lpszURL,
    uint dwNaviageFlags,
    out IVsWindowFrame ppFrame
)
int Navigate(
    [InAttribute] String^ lpszURL, 
    [InAttribute] unsigned int dwNaviageFlags, 
    [OutAttribute] IVsWindowFrame^% ppFrame
)
abstract Navigate : 
        lpszURL:string * 
        dwNaviageFlags:uint32 * 
        ppFrame:IVsWindowFrame byref -> int 
function Navigate(
    lpszURL : String, 
    dwNaviageFlags : uint, 
    ppFrame : IVsWindowFrame
) : int

Parameters

  • lpszURL
    Type: System.String
    [in] String containing the URL to navigate to. You can navigate to sites using Web and Visual Studio internal protocols.

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 IVsWebBrowsingService::Navigate(
   [in] LPCOLESTR lpszURL, 
   [in] VSWBNAVIGATEFLAGS dwNaviageFlags, 
   [out] IVsWindowFrame** ppFrame
);

.NET Framework Security

See Also

Reference

IVsWebBrowsingService Interface

IVsWebBrowsingService Members

Microsoft.VisualStudio.Shell.Interop Namespace