Latest web development tutorials
 

ADO Type Property


< Complete Stream Object Reference

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

< Complete Stream Object Reference