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

'宣言
Function GetComponentSelectorPage ( _
    ByRef rguidPage As Guid, _
    <OutAttribute> ppage As VSPROPSHEETPAGE() _
) As Integer
'使用
Dim instance As IVsComponentSelectorProvider
Dim rguidPage As Guid
Dim ppage As VSPROPSHEETPAGE()
Dim returnValue As Integer

returnValue = instance.GetComponentSelectorPage(rguidPage, _
    ppage)
int GetComponentSelectorPage(
    ref Guid rguidPage,
    VSPROPSHEETPAGE[] ppage
)
int GetComponentSelectorPage(
    [InAttribute] Guid% rguidPage, 
    [InAttribute] [OutAttribute] array<VSPROPSHEETPAGE>^ ppage
)
function GetComponentSelectorPage(
    rguidPage : Guid, 
    ppage : VSPROPSHEETPAGE[]
) : int

Parameters

  • rguidPage
    Type: System.Guid%

    [in] Specifies page GUID.

  • ppage
    Type: []

    [in, out] On input, a null reference (Nothing in Visual Basic). On output, pointer to the page.

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 vsshell.idl:

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

Permissions

See Also

Reference

IVsComponentSelectorProvider Interface

IVsComponentSelectorProvider Members

Microsoft.VisualStudio.Shell.Interop Namespace