Gets an IVsWindowFrame the IDE can use when adding to the favorites list.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function Navigate ( _
lpszURL As String, _
dwFlags As UInteger, _
<OutAttribute> ByRef ppFrame As IVsWindowFrame _
) As Integer
'使用
Dim instance As IVsFavoritesProvider
Dim lpszURL As String
Dim dwFlags As UInteger
Dim ppFrame As IVsWindowFrame
Dim returnValue As Integer
returnValue = instance.Navigate(lpszURL, _
dwFlags, ppFrame)
int Navigate(
string lpszURL,
uint dwFlags,
out IVsWindowFrame ppFrame
)
int Navigate(
[InAttribute] String^ lpszURL,
[InAttribute] unsigned int dwFlags,
[OutAttribute] IVsWindowFrame^% ppFrame
)
function Navigate(
lpszURL : String,
dwFlags : uint,
ppFrame : IVsWindowFrame
) : int
Parameters
lpszURL
Type: System.String[in] Pointer to a string containing the URL.
dwFlags
Type: System.UInt32[in] Reserved for future use.
ppFrame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame%[out] Pointer to a IVsWindowFrame interface that the IDE can use for creating a Web browser instance.
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 IVsFavoritesProvider::Navigate(
[in] LPCOLESTR lpszURL,
[in] DWORD dwFlags,
[out] IVsWindowFrame** ppFrame
);
Permissions
- 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.