次の方法で共有


IVsWebBrowsingService.GetFirstWebBrowser Method

Definition

Get the first available Web browser.

public:
 int GetFirstWebBrowser(Guid % rguidPersistenceSlot, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ % ppFrame, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsWebBrowser ^ % ppBrowser);
public int GetFirstWebBrowser (ref Guid rguidPersistenceSlot, out Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ppFrame, out Microsoft.VisualStudio.Shell.Interop.IVsWebBrowser ppBrowser);
abstract member GetFirstWebBrowser : Guid * IVsWindowFrame * IVsWebBrowser -> int
Public Function GetFirstWebBrowser (ByRef rguidPersistenceSlot As Guid, ByRef ppFrame As IVsWindowFrame, ByRef ppBrowser As IVsWebBrowser) As Integer

Parameters

rguidPersistenceSlot
Guid

[in] Pointer to the browser window GUID. A window must be registered in order to be saved and restored when Visual Studio starts up. Use GUID_NULL to use the default.

ppFrame
IVsWindowFrame

[out] Pointer to the window frame (IVsWindowFrame) containing the browser.

ppBrowser
IVsWebBrowser

[out] Pointer to the IVsWebBrowser interface of the browser. May be null.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsbrowse.idl:

HRESULT IVsWebBrowsingService::GetFirstWebBrowser(  
   [in] REFGUID rguidPersistenceSlot,   
   [out] IVsWindowFrame** ppFrame,   
   [out] IVsWebBrowser** ppBrowser  
);  

Applies to