共用方式為


IVsSpecifyProjectDesignerPages Interface

Definition

Supports editing project properties with an editor (project designer) rather than through the Project Properties dialog. Implemented on the browse object of the project instead of ISpecifyPropertyPages.

public interface class IVsSpecifyProjectDesignerPages
public interface class IVsSpecifyProjectDesignerPages
__interface IVsSpecifyProjectDesignerPages
[System.Runtime.InteropServices.Guid("E7E36A24-6435-48FB-8E5B-D2589FC18D72")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsSpecifyProjectDesignerPages
[<System.Runtime.InteropServices.Guid("E7E36A24-6435-48FB-8E5B-D2589FC18D72")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsSpecifyProjectDesignerPages = interface
Public Interface IVsSpecifyProjectDesignerPages
Attributes

Remarks

This interface is implemented by a project system that edits project properties through an editor (a project designer) instead of pages displayed in a property page frame.

Such a project does not implement ISpecifyPropertyPages on the project's browse object (specified by VSHPROPID_BrowseObject) and its configuration browse objects. Instead, the project system implements this interface on the browse object and configuration browse objects.

You launch a project designer as a document associated with the project root. A project designer editor is launched by the following call:

[C++]

pIVsProject2->ReopenItem(VSITEMID_ROOT,  
                         guidProjectDesignerEditor,   
                         L"",  
                         clsidInitialPage,  
                         DOCDATAEXISTING_UNKNOWN,   
                         &srpWindowFrame)  

A project using a project designer must provide the following properties:

Property Type Value
VSHPROPID_SupportsProjectDesigner BOOL VARIANT_TRUE
VSHPROPID_ProjectDesignerEditor GUID The GUID of the project designer.

Methods

GetProjectDesignerPages(CAUUID[])

Gets the pages of the project designer.

Applies to