Sady Home

Note my coding life

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Class className
  [Public | Private] propertyName 

  Private Sub Class_Initialize()  
    '...action when the class initialize
  End Sub

  'Cleaning up.
  'Unhand that RAM you hog !
  Private Sub Class_Terminate()
    '...action when the class terminate
  End Sub

  [Public [Default]| Private] Property Get name [(arglist)]
    [statements]
    [[Set] name = expression]
    [Exit Property] 
    [statements]
    [[Set] name = expression]
  End Property

  [Public | Private] Property Let name ( [arglist,] value)
    [statement]
    [Exit Property] 
    [statement]
  End Property

  [Public | Private] Property Set name( [arglist,] reference)
    [statement]
    [Exit Property] 
    [statement]
  End Property


End Class

posted on 2009-04-22 19:06  Sady  阅读(228)  评论(0编辑  收藏  举报
凭飞堂