Is this in VB.NET?

Jun 12, 2009 at 5:49 PM
Edited Jun 12, 2009 at 5:51 PM

I was planning on using this for a project but the client requires vb.net exclusively (don't ask me why). So I thought I would convert it and then post the results back here for anyone to use however I am having difficulties converting the DocumentExtensions class specifically in the area of:

private static EventHandler<XObjectChangeEventArgs> ElementChanged = new EventHandler<XObjectChangeEventArgs>(ElementChangedHandler);

and then:

xDocument.Changing -= ElementChanged;

Does anyone already have a copy in VB.Net they'd like to share. I'd really appreciate it. Or maybe just help with the conversion of the above?