Stream (ADO for Visual C++ syntax)

Applies to: Access 2013 | Access 2016

Methods

Cancel(void)

Close(void)

CopyTo(_ADOStream *DestStream, LONG CharNumber = -1)

Flush(void)

LoadFromFile(BSTR _ FileName_ )

Open(VARIANT _ Source,_ ConnectModeEnum _ Mode,_ StreamOpenOptionsEnum _ Options,_ BSTR _ UserName,_ BSTR _ Password_ )

Read(long _ NumBytes,_ VARIANT *pVal )

ReadText(long _ NumChars,_ BSTR *pbstr )

SaveToFile(BSTR _ FileName,_ SaveOptionsEnum Options =adSaveCreateNotExist)

SetEOS(void)

SkipLine(void)

Write(VARIANT _ Buffer_ )

WriteText(BSTR _ Data,_ StreamWriteEnum Options =adWriteChar)

Properties

get_Charset(BSTR *pbstrCharset ) put_Charset (BSTR _ Charset_ )

get_EOS(VARIANT_BOOL *pEOS )

get_LineSeparator(LineSeparatorEnum *pLS ) put_LineSeparator (LineSeparatorEnum _ LineSeparator_ )

get_Mode(ConnectModeEnum *pMode ) put_Mode (ConnectModeEnum _ Mode_ )

get_Position(LONG *pPos ) put_Position (LONG _ Position_ )

get_Size(LONG *pSize )

get_State(ObjectStateEnum *pState )

get_Type(StreamTypeEnum *pType ) put_Type (StreamTypeEnum _ Type_ )

See also