belle
作者belle·2013-05-16 13:56
软件开发工程师·IT

GetFirstItem和GetItemValue

字数 389阅读 890评论 0赞 0
GetFirstItem:获取文档中指定名字的域
Dim doc As NotesDocument
Dim item As NotesItem
Set item = doc.GetFirstItem( "Subject" )
If ( item Is Nothing ) Then
  Messagebox( "No Subject item on the document." )
Else
  Messagebox(  "The Subject item on the document has the value: "   + item.Text )  ’获取域对应的值
End If
GetItemValue:获取文档中指定域的值
subj = doc.GetItemValue( "Subject" )

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

0

添加新评论0 条评论

Ctrl+Enter 发表

作者其他文章

相关文章

相关问题

相关资料

X社区推广