Notifies listening clients that the project is about to be closed.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
‘선언 Function OnBeforeCloseProject ( _ pHierarchy As IVsHierarchy, _ fRemoved As Integer _ ) As Integer ‘사용 방법 Dim instance As IVsSolutionEvents Dim pHierarchy As IVsHierarchy Dim fRemoved As Integer Dim returnValue As Integer returnValue = instance.OnBeforeCloseProject(pHierarchy, _ fRemoved)
int OnBeforeCloseProject( IVsHierarchy pHierarchy, int fRemoved )
int OnBeforeCloseProject( [InAttribute] IVsHierarchy^ pHierarchy, [InAttribute] int fRemoved )
abstract OnBeforeCloseProject : pHierarchy:IVsHierarchy * fRemoved:int -> int
function OnBeforeCloseProject( pHierarchy : IVsHierarchy, fRemoved : int ) : int
[in] Pointer to the IVsHierarchy interface of the project being closed.
[in] true if the project was removed from the solution before the solution was closed. false if the project was removed from the solution while the solution was being closed.
HRESULT IVsSolutionEvents::OnBeforeCloseProject( [in] IVsHierarchy *pHierarchy, [in] BOOL fRemoved );
.NET Framework Security
- 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.