Initializes the solution listener.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Sub Init
'使用
Dim instance As SolutionListener
instance.Init()
public void Init()
public:
void Init()
public function Init()
Remarks
Calls [M:Microsoft.VisualStudio.Shell.Interop.IVsSolutionAdviseSolutionEvents(Microsoft.VisualStudio.Package.SolutionListener, out uint)], which returns the event cookie.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.