次の方法で共有


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

'宣言
<GuidAttribute("E7E36A24-6435-48FB-8E5B-D2589FC18D72")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSpecifyProjectDesignerPages
'使用
Dim instance As IVsSpecifyProjectDesignerPages
[GuidAttribute("E7E36A24-6435-48FB-8E5B-D2589FC18D72")]
[InterfaceTypeAttribute()]
public interface IVsSpecifyProjectDesignerPages
[GuidAttribute(L"E7E36A24-6435-48FB-8E5B-D2589FC18D72")]
[InterfaceTypeAttribute()]
public interface class IVsSpecifyProjectDesignerPages
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