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

ADO
ADO DataTypes
ADO 摘要
ADO 实例

ADO Type 属性


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

登陆 | 还没注册?