FlavoredProject.EventHandler<ProjectDocumentsChangeEventArgs> Delegate
Represents the method that handles events that relate to files and folders of the flavored project.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Delegate Sub EventHandler(Of ProjectDocumentsChangeEventArgs) ( _
sender As Object, _
e As ProjectDocumentsChangeEventArgs _
)
'使用
Dim instance As New EventHandler(Of ProjectDocumentsChangeEventArgs)(AddressOf HandlerMethod)
public delegate void EventHandler<ProjectDocumentsChangeEventArgs>(
Object sender,
ProjectDocumentsChangeEventArgs e
)
generic<typename ProjectDocumentsChangeEventArgs>
public delegate void EventHandler(
Object^ sender,
ProjectDocumentsChangeEventArgs e
)
type EventHandler =
delegate of
sender:Object *
e:'ProjectDocumentsChangeEventArgs -> unit
JScript does not support generic types or methods.
Type Parameters
- ProjectDocumentsChangeEventArgs
Parameters
- sender
Type: System.Object
The object that raises the event.
- e
Type: ProjectDocumentsChangeEventArgs
ProjectDocumentsChangeEventArgs.
Remarks
For more information about delegates and events, see Using Delegates (C# Programming Guide), Events and Delegates, and Generic Delegates (C# Programming Guide).