다음을 통해 공유


IVsRegisterProjectSelector Interface

Definition

Implemented by the Environment. To obtain this interface, one can QI on IVsProjectSelector or directly by QueryService(IID_IVsProjectSelector). Used by packages that implement a project selectors.RegisterProjectSelector is usually called in IVsPackage::SetSite; UnregisterProjectGenerator is called in IVsPackage::Close.Note: For the registered selectors (under VSKEYROOT\ProjectSelectors), the solution loaded will ensure that selector package is loaded in time when it is needed, so it is not required to preload the packages.

public interface class IVsRegisterProjectSelector
public interface class IVsRegisterProjectSelector
__interface IVsRegisterProjectSelector
[System.Runtime.InteropServices.Guid("B042860A-5A69-4259-BC88-F1C79AE16C50")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsRegisterProjectSelector
[<System.Runtime.InteropServices.Guid("B042860A-5A69-4259-BC88-F1C79AE16C50")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsRegisterProjectSelector = interface
Public Interface IVsRegisterProjectSelector
Attributes

Methods

RegisterProjectSelector(Guid, IVsProjectSelector, UInt32)
UnregisterProjectSelector(UInt32)

Applies to