Solved

VB.Net <> Tags

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

808 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