Package.IVsPackage.GetPropertyPage Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Proffers access to the Tools menu Options and the property pages of the Customize Toolbox dialog boxes.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Private Function GetPropertyPage ( _
ByRef rguidPage As Guid, _
ppage As VSPROPSHEETPAGE() _
) As Integer Implements IVsPackage.GetPropertyPage
int IVsPackage.GetPropertyPage(
ref Guid rguidPage,
VSPROPSHEETPAGE[] ppage
)
Parameters
- rguidPage
Type: System.Guid%
Unique identifier of the requested property page.
- ppage
Type: array<Microsoft.VisualStudio.Shell.Interop.VSPROPSHEETPAGE[]
Specifies the property page whose values are taken from the VSPROPSHEETPAGE structure.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK, otherwise it returns an error code.
Implements
IVsPackage.GetPropertyPage(Guid%, array<VSPROPSHEETPAGE[])
.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.