共用方式為


IVsPropertyPageFrame Interface

Definition

Changes the initial display of the property page in the Properties window. You can get an instance of the interface from the SVsPropertyPageFrame (SID_SVsPropertyPageFrame) service.

public interface class IVsPropertyPageFrame
public interface class IVsPropertyPageFrame
__interface IVsPropertyPageFrame
[System.Runtime.InteropServices.Guid("BC039978-213E-4CA0-81C4-10EDF2AF2D66")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsPropertyPageFrame
[System.Runtime.InteropServices.Guid("BC039978-213E-4CA0-81C4-10EDF2AF2D66")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsPropertyPageFrame
[<System.Runtime.InteropServices.Guid("BC039978-213E-4CA0-81C4-10EDF2AF2D66")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsPropertyPageFrame = interface
[<System.Runtime.InteropServices.Guid("BC039978-213E-4CA0-81C4-10EDF2AF2D66")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsPropertyPageFrame = interface
Public Interface IVsPropertyPageFrame
Attributes

Remarks

Use this interface only if you want to change the initial property page display. Otherwise, let the environment handle the property page display.

Methods

CanShowPropertyPages(Int32)

Verifies that the Property Pages can be displayed.

HideFrame()

Hides the property page.

ReportError(Int32)

Reports a COM (HRESULT) error.

ShowFrame(Guid)

Shows the property page specified by a CLSID.

ShowFrameDISPID(Int32)

Shows the property page specified by a dispatch ID (DISPID).

Update()

Updates the property pages.

UpdateAfterApply()

Updates the property page after all property page values have been applied to the underlying objects (after completion of all calls to the Apply() method of the IPropertyPage interface).

Applies to