Solved

VB.Net <> Tags

Posted on 2012-12-26
4
203 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 75

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 75

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 75

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
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 demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

929 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

8 Experts available now in Live!

Get 1:1 Help Now