当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO Flush 方法

ADO
ADO DataTypes
ADO 摘要
ADO 实例

ADO Flush 方法


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

The Flush method is used when you need to send the contents of the Stream buffer to the associated underlying object. For example, a node or file represented by the URL that is the source of the Stream object. This will ensure that all changes made to the contents have been written.
Flush的作用是:将记录流缓冲内容发送至与之相关的下一个对象中。举个例子来说:一个用URL来表示的节点或文件就是一个记录流对象的源,这就确保了所有的内容变更信息都会被写进记录流对象源中。

Note: ADO flushes the buffer as much as possible in the background, therefore; it is not usually necessary to call this method.
注意:ADO Flush会释放背景中的整个缓冲器,因此,一般不要使用这个方法。

Syntax
语法

objStream.Flush

评论 (0) All

登陆 | 还没注册?