Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.42 KB

File metadata and controls

38 lines (25 loc) · 1.42 KB
title TOCTitle ms:assetid ms:mtpsurl ms:contentKeyID ms.date mtps_version ms.localizationpriority
Write method - ActiveX Data Objects (ADO)
Write method (ADO)
cabe4581-409f-7f05-bd59-d495bfb2c6fd
48547697
09/18/2015
v=office.15
medium

Write method (ADO)

Applies to: Access 2013, Office 2013

Writes binary data to a Stream object.

Syntax

Stream.WriteBuffer

Parameters

Parameter Description
Buffer A Variant that contains an array of bytes to be written.

Remarks

Specified bytes are written to the Stream object without any intervening spaces between each byte.

The current Position is set to the byte following the written data. The Write method does not truncate the rest of the data in a stream. If you want to truncate these bytes, call SetEOS.

If you write past the current EOS position, the Size of the Stream will be increased to contain any new bytes, and EOS will move to the new last byte in the Stream.

Note

The Write method is used with binary streams (Type is adTypeBinary). For text streams (Type is adTypeText), use WriteText.