다음을 통해 공유


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
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

‘선언
Private Function GetPropertyPage ( _
    ByRef rguidPage As Guid, _
    ppage As VSPROPSHEETPAGE() _
) As Integer Implements IVsPackage.GetPropertyPage
‘사용 방법
Dim instance As Package
Dim rguidPage As Guid
Dim ppage As VSPROPSHEETPAGE()
Dim returnValue As Integer

returnValue = CType(instance, IVsPackage).GetPropertyPage(rguidPage, _
    ppage)
int IVsPackage.GetPropertyPage(
    ref Guid rguidPage,
    VSPROPSHEETPAGE[] ppage
)
private:
virtual int GetPropertyPage(
    Guid% rguidPage, 
    array<VSPROPSHEETPAGE>^ ppage
) sealed = IVsPackage::GetPropertyPage
private abstract GetPropertyPage : 
        rguidPage:Guid byref * 
        ppage:VSPROPSHEETPAGE[] -> int 
private override GetPropertyPage : 
        rguidPage:Guid byref * 
        ppage:VSPROPSHEETPAGE[] -> int 
JScript does not support explicit interface implementations.

Parameters

  • rguidPage
    Type: System.Guid%
    Unique identifier of the requested property page.

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

See Also

Reference

Package Class

Package Members

Microsoft.VisualStudio.Shell Namespace