SolutionListener.OnBeforeClosingChildren Method

Raised before the solution's subprojects are closed.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function OnBeforeClosingChildren ( _
    hierarchy As IVsHierarchy _
) As Integer
'使用
Dim instance As SolutionListener
Dim hierarchy As IVsHierarchy
Dim returnValue As Integer

returnValue = instance.OnBeforeClosingChildren(hierarchy)
public virtual int OnBeforeClosingChildren(
    IVsHierarchy hierarchy
)
public:
virtual int OnBeforeClosingChildren(
    IVsHierarchy^ hierarchy
)
public function OnBeforeClosingChildren(
    hierarchy : IVsHierarchy
) : int

Parameters

Return Value

Type: System.Int32

When implemented by derived classes, S_OK if the method succeeded, otherwise an error code.

Implements

IVsSolutionEvents3.OnBeforeClosingChildren(IVsHierarchy)

Remarks

By default returns E_NOTIMPL.

Permissions

See Also

Reference

SolutionListener Class

SolutionListener Members

Microsoft.VisualStudio.Package Namespace