如果结果集中提供了更多行,则 View 对象的 Fetch 方法将检索下一行列数据,否则为 Null。 在 Fetch 方法之前调用 Execute 方法。
Syntax
View.Fetch()
参数
此方法没有参数。
返回值
如果结果集中有更多行可用,此方法将返回一个 Record 对象,该对象包含请求的列数据,否则返回 null。
注解
应使用相同的 Record 对象来检索多行中的数据,否则应通过范围外释放该对象。 可以使用语法“If FetchRecord Is Nothing”测试结果集末尾的记录。
要求
| Requirement | 价值 |
|---|---|
| 版本 |
Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0。 Windows Server 2008 或 Windows Vista 上的 Windows Installer 4.0 或 Windows Installer 4.5。 Windows Server 2003 或 Windows XP 上的 Windows Installer |
| DLL |
|
| IID |
IID_IView定义为 000C109C-0000-0000-C000-000000000046 |