[VB6 ] test As String * 2
Private Type TaxHeader
test As String * 2
End Type
用.net的升級程式變成
Private Structure TaxHeader
<VBFixedString(7),System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr,SizeConst:=7)>Public test As String
End Structure
前面好長一串啊
.net裡有其他的寫法嗎
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.66.84.2
※ 編輯: slasher 來自: 203.66.84.2 (08/08 17:35)
※ 編輯: slasher 來自: 203.66.84.2 (08/08 17:35)
※ 編輯: slasher 來自: 203.66.84.2 (08/08 17:35)
推
08/11 19:46, , 1F
08/11 19:46, 1F
Visual_Basic 近期熱門文章
PTT數位生活區 即時熱門文章