Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

VB.Net <> Tags

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
badrhino
Asked:
badrhino
  • 3
1 Solution
 
käµfm³d 👽Commented:
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
 
käµfm³d 👽Commented:
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
 
käµfm³d 👽Commented:
A slightly better link than my first:  http://msdn.microsoft.com/en-us/library/z0w1kczw.aspx
0
 
badrhinoAuthor Commented:
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!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now