Solved

VB.Net <> Tags

Posted on 2012-12-26
4
202 Views
Last Modified: 2012-12-26
What does the <> tags in VB.Net mean?  For instance, when I set up a webservice, I insert the following line of code: <System.Web.Services.WebMethod()> .  

I've tried searching to no avail....

Thanks!
0
Comment
Question by:badrhino
  • 3
4 Comments
 
LVL 74

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 38721511
They denote an attribute. The following revolves around C#, but the information applies to VB.NET as well. The only difference is that C# uses [] where VB.NET uses <>.

http://msdn.microsoft.com/en-us/library/aa288454(VS.71).aspx
0
 
LVL 74

Expert Comment

by:käµfm³d 👽
ID: 38721514
P.S.

I desribed <> as you demonstrated above. However, one thing that VB.NET has which C# does not is XML literals. You can actually embed raw XML into your code (and use it within LINQ queries as well). That's an additional use of <> you may see in code from time to time.
0
 
LVL 74

Expert Comment

by:käµfm³d 👽
ID: 38721520
A slightly better link than my first:  http://msdn.microsoft.com/en-us/library/z0w1kczw.aspx
0
 
LVL 1

Author Closing Comment

by:badrhino
ID: 38721555
Thanks!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now