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