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

ADO
ADO DataTypes
ADO 摘要
ADO 实例

ADO HelpContext 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 361 ::
收藏到网摘: 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

登陆 | 还没注册?