次の方法で共有


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

'宣言
<GuidAttribute("F08400BB-0960-47F4-9E12-591DBF370546")> _
<InterfaceTypeAttribute()> _
Public Interface IVsRegisterProjectTypes
'使用
Dim instance As IVsRegisterProjectTypes
[GuidAttribute("F08400BB-0960-47F4-9E12-591DBF370546")]
[InterfaceTypeAttribute()]
public interface IVsRegisterProjectTypes
[GuidAttribute(L"F08400BB-0960-47F4-9E12-591DBF370546")]
[InterfaceTypeAttribute()]
public interface class IVsRegisterProjectTypes
public interface IVsRegisterProjectTypes

Remarks

The IVsRegisterProjectTypes interface is associated with the service, SVsRegisterProjectTypes.

See illustrations of the implementation and/or calling of this interface in the samples Basic Project, Figures Project, and My C Package.

Notes to Implementers:

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

Notes to Callers:

See Also

Reference

IVsRegisterProjectTypes Members

Microsoft.VisualStudio.Shell.Interop Namespace