Private mProp() As Object
Property Get Prop(Index As Long) As Object
Set Prop = mProp(Index)
End Property
Property Set Prop(Index As Long, Value As Object)
Set mProp(Index) = Value
End Property
大概就像这样吧,需要说明的是,如果使用属性数组,那么一次只能访问一个数组元素,想要一次性得到整个数组,应该还是要写方法来实现的