一个Collection属性的问题
在一个.Net组件中设计了一个Collection属性,使用.Net中的集合编辑器编辑,可试了一下不走Set模块,不知是怎么工作的?
Public Property Captions() As CaptionItemCollection
Get
Captions = m_Captions
??????????
End Get
Set(ByVal Value As CaptionItemCollection)
m_Captions = Value
??????
End Set
End Property
Public Class CaptionItemCollection
Inherits System.Collections.CollectionBase
。。。。。
End Class