Поделиться через


IVsRegisterProjectTypes Interface

Registers a VSPackage project type in the environment.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("F08400BB-0960-47F4-9E12-591DBF370546")> _
Public Interface IVsRegisterProjectTypes
[InterfaceTypeAttribute()]
[GuidAttribute("F08400BB-0960-47F4-9E12-591DBF370546")]
public interface IVsRegisterProjectTypes
[InterfaceTypeAttribute()]
[GuidAttribute(L"F08400BB-0960-47F4-9E12-591DBF370546")]
public interface class IVsRegisterProjectTypes
[<InterfaceTypeAttribute()>]
[<GuidAttribute("F08400BB-0960-47F4-9E12-591DBF370546")>]
type IVsRegisterProjectTypes =  interface end
public interface IVsRegisterProjectTypes

The IVsRegisterProjectTypes type exposes the following members.

Methods

  Name Description
Public method RegisterProjectType Registers a project type.
Public method UnregisterProjectType Unregisters a project type.

Top

Remarks

The IVsRegisterProjectTypes interface is associated with the service, SVsRegisterProjectTypes.

Notes to Implementers

RegisterProjectType is usually called in IVsPackage::SetSite; UnregisterProjectType is called in IVsPackage::Close.

Notes to Callers

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace