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
hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyThe parent project node.
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
- 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.