Type Property (ADO Stream)
Indicates the type of data contained in the Stream (binary or text).
Settings and Return Values
Sets or returns a StreamTypeEnum value that specifies the type of data contained in the Stream object. The default value is adTypeText. However, if binary data is initially written to a new, empty Stream, the Type will be changed to adTypeBinary.
Remarks
The Type property is read/write only when the current position is at the beginning of the Stream (Position is 0), and read-only at any other position.
TheType property determines which methods should be used for reading and writing the Stream. For text Streams, use ReadText and WriteText. For binary Streams, use Read and Write.
Applies To
See Also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho