Sample Using Statement in VB.NET 2005
Posted by bsstahl on 2006-04-28 and Filed Under: development
For future reference, here is a sample using statement in VB.NET 2005.
Using wsBlogService As New BlogService.Blog Try Me.Text = wsBlogService.DisplayBlog("BlogName", 0) Catch objException As System.Exception Me.Text = String.Format("", objException.Message, wsBlogService.url) End Try End Using