你好,我怎么能有一个像目录在.NET VB的属性..我的意思是,如果我有我如何限制更多钞票选项被分配到.NET财产
Property funcion(ByVal _funcion As Int16) As Int16
Get
Return _funcion
End Get
Set(ByVal value As Int16)
_funcion = value
End Set
End Property
我想能够为此属性分配有限数量的选项。
例..
Dim a as trick
a.funcion = (and get a list of possible attributes) ...
谢谢!
完善这个问题解决了!非常感谢 !! – carlos 2010-05-05 20:46:40