Whats wrong with my code..?

Imports System.Runtime.InteropServices

<StructLayout(LayoutKind.Sequential)> _
Public Structure WSAData
Dim wVersion As Short
Dim wHighVersion As Short
<MarshalAs(UnmanagedType.ByValTStr, SizeConst:=WSADESCRIPTION_LEN + 1)> _
Dim szDescription As Char
Dim szSystemStatus As String
Dim iMaxSockets As UInt16
Dim iMaxUdpDg As UInt16
Dim lpVendorInfo As Int32
End Structure

Error message "type MarshalAs is not defined"

really don't know how to do it~~... can anyone help me on this?
[640 byte] By [LyNdA^] at [2007-11-19 9:56:39]
# 1 Re: Whats wrong with my code..?
Try using the fullpath: <System.Runtime.InteropServices.MarshalAs(..)>
coolbiz at 2007-11-10 3:17:21 >
# 2 Re: Whats wrong with my code..?
Try using the fullpath: <System.Runtime.InteropServices.MarshalAs(..)>

Still cannot... because when i put (System.Runtime.InteropServices.) there has no MarshalAs... why everyone can do it but then i couldn't do it ?
LyNdA^ at 2007-11-10 3:18:23 >