ADO Type Property


The Type property sets or returns a StreamTypeEnum value that specifies the type of data in a Stream object. Default is adTypeText.

Note: This property is read/write when the position is at the beginning of the Stream (Position=0), otherwise it is read-only.

Syntax

objStream.Type


StreamTypeEnum

Constant Value Description
adTypeBinary  1 Binary data
adTypeText 2 Default. Text data

Goto ADO Stream Objects complete reference
Share this article :
 
Copyright © 2012. Best Online Tutorials | Source codes | Programming Languages - All Rights Reserved