Solved

VB.Net <> Tags

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with preventing downloading a zip file 10 49
Get distinct values from excel or comm seperated file 4 40
Visual Studios 1 87
Error message when using PrintSocket.Send 7 25
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

685 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