Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

What function do the language elements "<....>" have in VB .NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Albert - 06 Mar 2008 21:50 GMT
Hi,I'm new to VB.Net and I can't find an explanation in the help what the
<...> for function have in the code. I know what the DllImport(..) does but
why is it placed between these <> brackets.<DllImport("KERNEL32.DLL",
EntryPoint:="MoveFileW", SetLastError:=True, _
   CharSet:=CharSet.Unicode, ExactSpelling:=True, _
   CallingConvention:=CallingConvention.StdCall)> _
Public Shared Function MoveFile( _
   ByVal src As String, _
   ByVal dst As String) _
   As Boolean
   ' Leave the body of the function empty.
End Function
Kind Regards,Albert
Albert - 06 Mar 2008 22:29 GMT
Ok, I found it:

Attributes are descriptive tags that provide additional information about
programming elements such as types, fields, methods, and properties. Other
applications, such as the Visual Basic compiler, can refer to the extra
information in attributes to determine how these items can be used.

Albert

> Hi,I'm new to VB.Net and I can't find an explanation in the help what the
> <...> for function have in the code. I know what the DllImport(..) does
[quoted text clipped - 9 lines]
> End Function
> Kind Regards,Albert

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.