FlavoredProjectBase.EventHandler<ProjectDocumentsChangeEventArgs> Delegate
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)
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
- e
Type: ProjectDocumentsChangeEventArgs