IVsPropertyPage Interface
Implemented by VSPackages on IPropertyPage objects to show categorized property pages in the property frame.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("237ABD5F-9537-4AEE-A893-72AB9A0EA8E8")> _
Public Interface IVsPropertyPage
'用途
Dim instance As IVsPropertyPage
[InterfaceTypeAttribute()]
[GuidAttribute("237ABD5F-9537-4AEE-A893-72AB9A0EA8E8")]
public interface IVsPropertyPage
[InterfaceTypeAttribute()]
[GuidAttribute(L"237ABD5F-9537-4AEE-A893-72AB9A0EA8E8")]
public interface class IVsPropertyPage
[<InterfaceTypeAttribute()>]
[<GuidAttribute("237ABD5F-9537-4AEE-A893-72AB9A0EA8E8")>]
type IVsPropertyPage = interface end
public interface IVsPropertyPage
Remarks
The tree structure in the Property Pages dialog is created with information provided by the interfaces IVsPropertyPage and ISpecifyPropertyPages. ISpecifyPropertyPages provides the actual page, while IVsPropertyPage provides the level name.
There are only two top-level categories available on Visual Studio Property Pages:
Term |
Definition |
---|---|
Common Properties |
Displays configuration-independent information for the selected object or objects. As a result, when one of the Common Properties subcategories is selected, the Configuration, Platform, and Configuration Manager options across the top of the dialog are not available. |
Configuration Properties |
Contains configuration-dependent information relating to Debugging, Optimization, and Build parameters for the solution or project. |
Your page is automatically put under one of those top-level categories based on whether the page is configuration specific regardless of whether or not you implement IVsPropertyPage or what you return in the CategoryTitle method. Configuration specific pages come from objects obtained from the main object through IVsCfgProvider2.
Notes to Implementers
When adding a new project type that support configuration options through property pages.