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
'Declaración
Function GetComponentSelectorPage ( _
ByRef rguidPage As Guid, _
<OutAttribute> ppage As VSPROPSHEETPAGE() _
) As Integer
'Uso
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
)
abstract GetComponentSelectorPage :
rguidPage:Guid byref *
ppage:VSPROPSHEETPAGE[] byref -> int
function GetComponentSelectorPage(
rguidPage : Guid,
ppage : VSPROPSHEETPAGE[]
) : int
Parameters
- rguidPage
Type: System.Guid%
[in] Specifies page GUID.
- ppage
Type: array<Microsoft.VisualStudio.Shell.Interop.VSPROPSHEETPAGE[]
[in, out] On input, nulla 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
);
.NET Framework Security
- 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.
See Also
Reference
IVsComponentSelectorProvider Interface