WEB开发网
开发学院WEB开发综合 用ParamArray接收任意个参数 阅读

用ParamArray接收任意个参数

 2006-02-27 11:54:36 来源:WEB开发网   
核心提示:->PublicSubFillList(ListControlAsListBox,ParamArrayItems())DimiAsVariantWithListControl.ClearForEachiInItems.AddItemiNextEndWithEndSubPRivateSubCommand1_Click()
->PublicSubFillList(ListControlAsListBox,ParamArrayItems())
DimiAsVariant
WithListControl
.Clear
ForEachiInItems
.AddItemi
Next
EndWith
EndSub

PRivateSubCommand1_Click()
FillListList1,"TiffanyT","MikeS","RochesterNY"
EndSub->
->

Tags:ParamArray 接收 任意

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接