vb.net中不能在Form中声明变量为Module中定义的Structure类型
vb.net2008中,在Module中定义了Structure类型:PublicStructureColoumDataProperty_InfoDimPropertyN...
vb.net 2008中,在Module中定义了Structure类型:
Public Structure ColoumDataProperty_Info
Dim PropertyName As String
Dim PropertyDipict As String
Dim ColuomCount As Long
End Structure
在Class Form1中声明如下变量失败:
Public A() As ColoumDataProperty_Info
这是为什么?如何在Form中实现上述的思路?
(希望不要再Form中再声明一个同样的Structure!)
谢谢 展开
Public Structure ColoumDataProperty_Info
Dim PropertyName As String
Dim PropertyDipict As String
Dim ColuomCount As Long
End Structure
在Class Form1中声明如下变量失败:
Public A() As ColoumDataProperty_Info
这是为什么?如何在Form中实现上述的思路?
(希望不要再Form中再声明一个同样的Structure!)
谢谢 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询