zoukankan      html  css  js  c++  java
  • GetItemValue、Itemname使用方法

    使用GetItemValue方法(1)

    NotesDocument类別的GetItemValue方法会传回文件中指定栏位的数值。不论栏位值是文字、数字、时间日期…等等, GetItemValue都是以阵列型态来回传,即使其中也沒有任何数值了。

    使用GetItemValue方法(2)

    语法

    valueArray = NotesDocument.GetItemValue_

    (“ItemName)”

    Ex.

    Dim lname As String

    lname = doc.GetItemValue(“LastName”)

    doc.itemname(0)与doc.getitemvalue(itemname)的区别

    doc.itemname(0),要求itemname为文本(列表)、时间、读者、作者(列表)等。但不能为RTF条目,不然会出错。

  • 相关阅读:
    3.10 Go Map哈希表
    3.9 Go Slice切片
    3.8 Go Array数组
    3.7 Go指针
    3.6 Go String型
    3.5 Go布尔型
    3.4 Go字符型
    3.3 Go浮点型
    3.2 Go整数类型
    3.1Go变量
  • 原文地址:https://www.cnblogs.com/hannover/p/2232380.html
Copyright © 2011-2022 走看看