IVstaHostAdapterEvents.ProjectClosing Method
Event handler that is called when you close a Visual Studio Tools for Applications project.
Namespace: Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop
Assembly: Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)
Syntax
'Declaration
Sub ProjectClosing ( _
sender As Object, _
e As ICancelEventArgs _
)
'Usage
Dim instance As IVstaHostAdapterEvents
Dim sender As Object
Dim e As ICancelEventArgs
instance.ProjectClosing(sender, e)
void ProjectClosing(
Object sender,
ICancelEventArgs e
)
void ProjectClosing(
Object^ sender,
ICancelEventArgs^ e
)
function ProjectClosing(
sender : Object,
e : ICancelEventArgs
)
Parameters
sender
Type: System.ObjectThe source of the event.
e
Type: Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop.ICancelEventArgsThe event data.
.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.
See Also
Reference
IVstaHostAdapterEvents Interface
IVstaHostAdapterEvents Members
Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop Namespace