共用方式為


IVsSpecifyProjectDesignerPages Interface

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.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("E7E36A24-6435-48FB-8E5B-D2589FC18D72")> _
Public Interface IVsSpecifyProjectDesignerPages
'用途
Dim instance As IVsSpecifyProjectDesignerPages
[InterfaceTypeAttribute()]
[GuidAttribute("E7E36A24-6435-48FB-8E5B-D2589FC18D72")]
public interface IVsSpecifyProjectDesignerPages
[InterfaceTypeAttribute()]
[GuidAttribute(L"E7E36A24-6435-48FB-8E5B-D2589FC18D72")]
public interface class IVsSpecifyProjectDesignerPages
[<InterfaceTypeAttribute()>]
[<GuidAttribute("E7E36A24-6435-48FB-8E5B-D2589FC18D72")>]
type IVsSpecifyProjectDesignerPages =  interface end
public interface IVsSpecifyProjectDesignerPages

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.

See Also

Reference

IVsSpecifyProjectDesignerPages Members

Microsoft.VisualStudio.Shell.Interop Namespace