共用方式為


IVsProjectFactory Interface

Creates projects within the solution.

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

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("33FCD00A-BD45-403C-9C66-07BA9A923501")> _
Public Interface IVsProjectFactory
'用途
Dim instance As IVsProjectFactory
[InterfaceTypeAttribute()]
[GuidAttribute("33FCD00A-BD45-403C-9C66-07BA9A923501")]
public interface IVsProjectFactory
[InterfaceTypeAttribute()]
[GuidAttribute(L"33FCD00A-BD45-403C-9C66-07BA9A923501")]
public interface class IVsProjectFactory
public interface IVsProjectFactory

Remarks

See illustrations of the implementation and/or calling of this interface in the samples Basic Projectand Figures Project. Implemented by Package that implements a project type. IVsProjectFactory is passed to the Visual Studio Environment via RegisterProjectType.

Notes to Implementers:

Implement IVsProjectFactory when needing to create and site a project within a solution.

See Also

Reference

IVsProjectFactory Members

Microsoft.VisualStudio.Shell.Interop Namespace