Partager via


IVsComponentSelectorProvider.GetComponentSelectorPage Method

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

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

Syntax

'Declaration
Function GetComponentSelectorPage ( _
    ByRef rguidPage As Guid, _
    <OutAttribute> ppage As VSPROPSHEETPAGE() _
) As Integer
int GetComponentSelectorPage(
    ref Guid rguidPage,
    VSPROPSHEETPAGE[] ppage
)
int GetComponentSelectorPage(
    [InAttribute] Guid% rguidPage, 
    [InAttribute] [OutAttribute] array<VSPROPSHEETPAGE>^ ppage
)
abstract GetComponentSelectorPage : 
        rguidPage:Guid byref * 
        ppage:VSPROPSHEETPAGE[] byref -> int
function GetComponentSelectorPage(
    rguidPage : Guid, 
    ppage : VSPROPSHEETPAGE[]
) : int

Parameters

  • rguidPage
    Type: Guid%

    [in] Specifies page GUID.

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsComponentSelectorProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace