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

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 Type 属性


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

The Type property sets or returns a StreamTypeEnum value that specifies the type of data in a Stream object. Default is adTypeText.
Type属性的作用是:设置或返回一个StreamTypeEnum值,用于指明记录流对象中的数据类型。默认值为adTypeText。

Note: This property is read/write when the position is at the beginning of the Stream (Position=0), otherwise it is read-only.
注意:当位置位于记录流的起始位置时(Position[位置]=0),该属性为可读/可写;如果是其它情况的话,它的属性为只读。

Syntax
语法

objStream.Type


StreamTypeEnum

Constant常量 Value值 Description描述
adTypeBinary  1 Binary data
二进制数据
adTypeText 2 Default. Text data
默认值。文本数据

评论 (0) All

登陆 | 还没注册?