共用方式為


IVsProjectFactory Interface

Creates projects within the solution.

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

Syntax

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

Remarks

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