OleComponent.QueryTerminate Event
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Event QueryTerminate As EventHandler(Of QueryTerminateEventArgs)
'Utilisation
Dim instance As OleComponent
Dim handler As EventHandler(Of QueryTerminateEventArgs)
AddHandler instance.QueryTerminate, handler
public event EventHandler<QueryTerminateEventArgs> QueryTerminate
public:
event EventHandler<QueryTerminateEventArgs^>^ QueryTerminate {
void add (EventHandler<QueryTerminateEventArgs^>^ value);
void remove (EventHandler<QueryTerminateEventArgs^>^ value);
}
member QueryTerminate : IEvent<EventHandler<QueryTerminateEventArgs>,
QueryTerminateEventArgs>
JScript does not support events.
.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
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace