VS2005 Macro - Event Handles

F

F3

I'm trying to access Handles from VS2005 Macros.
For now i'm able to access sub definition (EnvDTE80.CodeElement2 cast
to EnvDTE80.CodeFunction2)
but I need to access the "Handles Me.Click" part of the code to remove
it.
Any idea?

VB Code :
Private Sub frmMain_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Click
End Sub
 
P

Peter Macej

The code model doesn't support Handles. You need to parse function
declaration manually.
 
F

F3

The code model doesn't support Handles. You need to parse function
declaration manually.

--
Peter Macej
Helixoft -http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
.NET and ASP .NET code

ok. nice to know
thanks Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top