共用方式為


IVsComponentSelectorProvider.GetComponentSelectorPage Method

Definition

Used by a VSPackage to provide pages to a component picker.

public:
 int GetComponentSelectorPage(Guid % rguidPage, cli::array <Microsoft::VisualStudio::Shell::Interop::VSPROPSHEETPAGE> ^ ppage);
public int GetComponentSelectorPage (ref Guid rguidPage, Microsoft.VisualStudio.Shell.Interop.VSPROPSHEETPAGE[] ppage);
abstract member GetComponentSelectorPage : Guid * Microsoft.VisualStudio.Shell.Interop.VSPROPSHEETPAGE[] -> int
Public Function GetComponentSelectorPage (ByRef rguidPage As Guid, ppage As VSPROPSHEETPAGE()) As Integer

Parameters

rguidPage
Guid

[in] Specifies page GUID.

ppage
VSPROPSHEETPAGE[]

[in, out] On input, null. On output, pointer to the page.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsComponentSelectorProvider::GetComponentSelectorPage(  
   [in] REFGUID rguidPage,  
   [in, out] VSPROPSHEETPAGE *pPage  
);  

Applies to