vb.net 如何定义含数组的结构数组?
这个结构还要用来定义一个变量的PublicStructurewheelmodel2PublicIDAsInt16<VBFixedArray(36)>Publicswapw...
这个结构还要用来定义一个变量的
Public Structure wheelmodel2
Public ID As Int16
<VBFixedArray(36)> Public swapway() As Int16
Public starthead As Int16
Public Sub New(ByVal x As Short)
swapway = New Short(36) {}
End Sub
End Structure
Dim wheel2(10) As New wheelmodel2() 展开
Public Structure wheelmodel2
Public ID As Int16
<VBFixedArray(36)> Public swapway() As Int16
Public starthead As Int16
Public Sub New(ByVal x As Short)
swapway = New Short(36) {}
End Sub
End Structure
Dim wheel2(10) As New wheelmodel2() 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询