| Visual Basic (Declaration) | |
|---|---|
Public Delegate Sub NamedStyleCollectionEventHandler( _ ByVal sender As Object, _ ByVal e As NamedStyleCollectionEventArgs _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As New NamedStyleCollectionEventHandler(AddressOf HandlerMethod)  | |
| C# | |
|---|---|
public delegate void NamedStyleCollectionEventHandler( object sender, NamedStyleCollectionEventArgs e )  | |
Parameters
- sender
 - e
 
For an introduction to delegates, refer to Delegates Tutorial in the Microsoft C# Programmers Reference.
            
            
            
            
            Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family