关于notesvew.GetAllEntriesByKey的问题

function a() as notesviewentrycollection     .     .     .     set a=notesview.getallentriesbykey(key,true)     msgbox a.count  '这个是有数量的 endfunction 通过这个方法无法返回一个notesviewentrycol...显示全部
function a() as notesviewentrycollection
    .
    .
    .
    set a=notesview.getallentriesbykey(key,true)
    msgbox a.count  '这个是有数量的
endfunction
通过这个方法无法返回一个notesviewentrycollection对象,似乎对象只能存在于方法中,方法结束对象会被释放,有什么解决方法吗?收起
参与20

查看其它 15 个回答szkenszken的回答

szkenszkenszkenszken其它contempo
定义一个class, 把返回值放到class 的的一个属性
互联网服务 · 2015-07-24
浏览1179

回答者

szkenszken
其它contempo
擅长领域: portal中间件

szkenszken 最近回答过的问题

回答状态

  • 发布时间:2015-07-24
  • 关注会员:2 人
  • 回答浏览:1179
  • X社区推广