当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO HelpContext 属性

ADO
ADO介绍
ADO数据库连接
ADO记录集
ADO显示记录
ADO查询语句
ADO记录排序
ADO添加记录
ADO更新记录
ADO删除记录
ADO演示
ADO提升执行速度
ADO Command对象
ADO Connection对象
ADO Error
ADO Field
ADO Parameter
ADO 属性
ADO Record
ADO Recordset
ADO Stream

ADO HelpContext 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 360 ::
收藏到网摘: n/a

The HelpContext property returns a long value that is the context ID of a topic in the Microsoft Windows help system.
HelpContext属性将返回返回微软视窗帮助系统的标题ID值。

This property allows you to interact with the Windows help system, i.e. you can call the Windows API Help functions.
这个属性允许与视窗帮助系统进行交互,如:你可以请求视窗系统中的“APi帮助”函数。

The HelpContext property returns zero if you do not have access to interact with the Windows help system.
如果你不与视窗帮助系统进行交互,那么HelpContext属性将返回0。

Syntax
语法

lngErrorContext=objErr.HelpContext

Example
案例

<%
for each objErr in objConn.Errors response.write("<p>") response.write("Description: ") response.write(objErr.Description & "<br />") response.write("Help context: ") response.write(objErr.HelpContext & "<br />") response.write("Help file: ") response.write(objErr.HelpFile & "<br />") response.write("Native error: ") response.write(objErr.NativeError & "<br />") response.write("Error number: ") response.write(objErr.Number & "<br />") response.write("Error source: ") response.write(objErr.Source & "<br />") response.write("SQL state: ") response.write(objErr.SQLState & "<br />") response.write("</p>")
next
%>

评论 (0) All

登陆 | 还没注册?