Adodb.Stream object methodattribute

xiaoxiao2021-03-06  39

Source: Unknown Author: Unknown Recommended rating: Visits: 4

Adodb.Stream object method / Property CANCEL method How to use Object.cancel Description: Cancel the invoking of the pending asynchronous Execute or Open method. Close method How to use Object.close: Turn off the log case COPYTO method Usage Object.copyTo (DestStream, [Charnumber]) Description: Copy the object's data, DestStReam points to the object to copy, charnumber is an optional parameter, Inforition, the number of bytes must be copied, not all copied. Flush method How to use Object.flush Description: LoadFromFile method Usage Object.LoadFromFile (filename) Description: Load FileName The file is loaded into the object, the parameter filename is the specified username. Open method uses Object.Open (Source, [Mode], [Options], [UserName], [Password]) Description: Open Open Out, Parameter Description: SouRe Pair source, may not specify Mode specified open mode, not specified optional parameters are as follows: adModeRead = 1 adModeReadWrite = 3 adModeRecursive = 4194304 adModeShareDenyNone = 16 adModeShareDenyRead = 4 adModeShareDenyWrite = 8 adModeShareExclusive = 12 adModeUnknown = 0 adModeWrite = 2 options option specified open, may designate, optional parameters are as follows: adOpenStreamAsync = 1 AdoPenStreamFromRecord = 4 AdoPenStreamunSpecified = -1 username Specifies the username, not specified. Password Specifies the password of the username Read method Usage: Object.read (NumBytes) Description: Read the binary content of the specified length. Parameter Description: Numbytes Specifies the Land to read, not specified, read all. The readtext method uses the following: Object.readText (Numchars) Description: Read the text parameters of the specified length Description: Numchars specified by the spot to read, not specified, read all. The SaveTofile method is used as follows: Object.savetofile (filename, [options]) Description: Write the contents of the contents of the file to the parameter description: filename specified by file Options option, may not be specified, optional parameters are as follows : Adsavecreatenotexist = 1 adsavecreateOverWrite = 2 SETEOS method Usage: Object.seteos () Description: Object.Skipline () Description: Object.skipline () Description: Write method Usage The method is as follows: Object.write (buffer) Description: Data is loaded into the object. Parameter Description: Buffer is the content you want to write.

转载请注明原文地址:https://www.9cbs.com/read-70406.html

New Post(0)